Function scheduler::get_self_affinity [] [src]

pub fn get_self_affinity(num_cpus: usize) -> Result<CpuSet, ()>

Get the cpu affinity for the current thread. See get_affinity.