Function num_threads::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.