Function determine_allowed_cpus
Source pub fn determine_allowed_cpus(desired: usize) -> Result<usize>
Expand description
Check that specified desired is valid.
If more threads are specified than available, the max available are used.
ยงErrors
Error if less than or equal to 0 threads are selected