Crate jobsteal

Source
Expand description

A work-stealing fork-join thread pool used to perform work asynchronously. Tasks submitted are intended to be short-lived. Long running asynchronous tasks should use another method. This crate is fairly experimental and should be used with caution.

Re-exports§

pub use iter::BorrowSpliterator;
pub use iter::BorrowSpliteratorMut;
pub use iter::IntoSpliterator;
pub use iter::Split;
pub use iter::Spliterator;

Modules§

iter
Jobsteal’s Parallel iterators.

Structs§

Pool
The work pool manages worker threads in a work-stealing fork-join thread pool.
Spawner
A job spawner associated with a specific scope.

Functions§

make_pool
Create a pool with n worker threads.