[−][src]Function affinity::set_process_affinity
pub fn set_process_affinity<B: AsRef<[usize]>>(
core_ids: B
) -> Result<(), Box<dyn Error>>
Binds the current process to the specified core(s)
Note : This has a side effect of binding new child processes to the same cores