Crate thread_count

Source

Functionsยง

is_single_threaded
Check if the current process is single-threaded.
thread_count
Gets the amount of threads for the current process. Returns None if there are no threads.