Function cuprate_helper::thread::threads
source ยท pub fn threads() -> NonZeroUsize
Expand description
Get the total amount of system threads.
assert!(threads().get() >= 1);
pub fn threads() -> NonZeroUsize
Get the total amount of system threads.
assert!(threads().get() >= 1);