Struct nix_doc::threadpool::ThreadPool [−][src]
pub struct ThreadPool { /* fields omitted */ }
Expand description
A basic thread pool implementation.
Implementations
Makes a new ThreadPool with nthreads
threads.
Pushes a closure onto the task queue for the pool.
Trait Implementations
Creates a new ThreadPool with the number of physical+logical threads the computer has.
Auto Trait Implementations
impl !RefUnwindSafe for ThreadPool
impl Send for ThreadPool
impl !Sync for ThreadPool
impl Unpin for ThreadPool
impl !UnwindSafe for ThreadPool