affinitypool 0.4.0

A Rust library for running blocking jobs on a dedicated thread pool with CPU core affinity
Documentation
1
2
3
4
use crate::Threadpool;
use std::sync::OnceLock;

pub(crate) static THREADPOOL: OnceLock<Threadpool> = OnceLock::new();