Skip to main content

threads

Function threads 

Source
pub fn threads() -> Result<usize>
Expand description

This process’s threads. Linux and macOS: one read, no allocation. Windows: a system-wide thread snapshot, whose cost grows with the machine’s thread count.

§Errors

As memory.