Crate num_threads
source · [−]Expand description
Minimum supported Rust version: 1.28
Functions
Determine if the current process is single-threaded. Returns None
if the number of threads
cannot be determined.
Obtain the number of threads currently part of the active process. Returns None
if the number
of threads cannot be determined.