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.