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 snapshot of every process on the machine, 5 to 60 ms on a busy host: call it rarely there, never per request.

§Errors

As memory.