core_affinity

Function get_core_ids

Source
pub fn get_core_ids() -> Option<Vec<CoreId>>
Expand description

This function tries to retrieve information on all the “cores” on which the current thread is allowed to run.