Skip to main content

set_core_affinity

Function set_core_affinity 

Source
fn set_core_affinity(worker_id: usize)
Expand description

Set the current thread’s core affinity, based on the given worker_id.