set_self_affinity

Function set_self_affinity 

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

Set the cpu affinity for the current thread See set_affinity.