Function scheduler::set_self_affinity [] [src]

pub fn set_self_affinity(cpuset: CpuSet) -> Result<(), ()>

Set the cpu affinity for the current thread See set_affinity.