Function core_affinity::set_for_current [−][src]
pub fn set_for_current(core_id: CoreId)
This function tries to pin the current thread to the specified core.
Arguments
- core_id - ID of the core to pin
pub fn set_for_current(core_id: CoreId)
This function tries to pin the current thread to the specified core.