affinitypool 0.8.0

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

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