Crate thread_amount

Source

Functionsยง

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