cuprate_helper::thread

Function threads

Source
pub fn threads() -> NonZeroUsize
Expand description

Get the total amount of system threads.

assert!(threads().get() >= 1);