pub fn thread_amount() -> Option<NonZeroUsize>Expand description
Gets the amount of threads for the current process.
Returns None if there are no threads.
pub fn thread_amount() -> Option<NonZeroUsize>Gets the amount of threads for the current process.
Returns None if there are no threads.