Skip to main content

set_current_thread_affinity

Function set_current_thread_affinity 

Source
pub fn set_current_thread_affinity(processors: &[ProcessorId]) -> Result<()>
Expand description

Sets and verifies the calling thread’s affinity. Windows accepts one group per call. Native OpenMP worker assignment remains a separate runtime operation.