Sets the CPU mask of a thread.
fn set_cpus(thread: i32, cpus: &CpuMask) -> Result<(), Errno>
The thread whose mask to set or 0 for this thread.
0
The CPU mask.
sched_setaffinity(2)