thread_count

Function thread_count 

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

Gets the amount of threads for the current process. Returns None if there are no threads.