num_threads

Function 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.