pub fn num_threads(thread_limit: Option<usize>) -> usize
Expand description

Returns the amount of threads the system can effectively use as the amount of its logical cores.

Only available with the parallel feature toggle set.