num_threads

Function num_threads

Source
pub fn num_threads() -> Option<NonZeroUsize>
Expand description

Obtain the number of threads currently part of the active process. Returns None if the number of threads cannot be determined.