Function hermit_abi::available_parallelism

source ยท
pub unsafe extern "C" fn available_parallelism() -> usize
Expand description

Returns an estimate of the default amount of parallelism a program should use. This number often corresponds to the amount of CPUs a computer has, but it may diverge in various cases.