Skip to main content

blocking_threads

Function blocking_threads 

Source
pub fn blocking_threads() -> usize
Expand description

The blocking pool (docs/async.md): spawn_blocking runs a job on a worker thread and resolves on the awaiting side; std-only, so it lives in day-async and is re-exported here. How many pool threads exist right now, idle ones included: for diagnostics and tests.