async-cpupool 0.4.0

A simple async threadpool for CPU-bound tasks
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[cfg(not(loom))]
pub(crate) use std::sync::{
    atomic::{AtomicBool, AtomicU8, Ordering},
    Arc, Mutex,
};

#[cfg(loom)]
pub(crate) use loom::sync::{
    atomic::{AtomicBool, AtomicU8, Ordering},
    Arc, Mutex,
};