pub fn set_num_threads(threads: Option<usize>)Expand description
Override the budget for this process.
None or Some(0) restores the environment/default resolution. A parallel
region that has started finishes on its pool; later regions use the new
budget. Budgets are capped at [rayon::max_num_threads].