Skip to main content

available_parallelism

Function available_parallelism 

Source
pub fn available_parallelism() -> usize
Expand description

Get the number of threads which could execute in parallel based on hardware constraints of this system.