threads

Macro threads 

Source
macro_rules! threads {
    () => { ... };
}
Expand description

Get the total available amount of threads as a usize

Calls std::thread::available_parallelism and converts to a usize

If the above function returns Err, 1 will be returned.