Expand description
Module for real thread pool-based parallelization of CPU heavy blocking workloads.
Re-exports§
pub use rayon;
Functions§
- init_
thread_ pool - Initialize a
rayonCPU thread pool with the given number of threads. - spawn_
blocking - Spawn an awaitable non-blocking execution of the given blocking function on a
rayonCPU thread pool. - spawn_
fifo_ blocking - Spawn an awaitable non-blocking execution of the given blocking function on a
rayonCPU thread pool.