Function num_threads::is_single_threaded
source · [−]Expand description
Determine if the current process is single-threaded. Returns None
if the number of threads
cannot be determined.
Determine if the current process is single-threaded. Returns None
if the number of threads
cannot be determined.