Function num_threads::is_single_threaded
source · pub fn is_single_threaded() -> Option<bool>Expand description
Determine if the current process is single-threaded. Returns None if the number of threads
cannot be determined.
pub fn is_single_threaded() -> Option<bool>Determine if the current process is single-threaded. Returns None if the number of threads
cannot be determined.