thread_amount

Function thread_amount 

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

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