Skip to main content

pin_to_core

Function pin_to_core 

Source
pub fn pin_to_core(core_id: usize) -> Result<()>
Expand description

Pin the calling thread to a specific CPU core.

ยงErrors

Returns an error if pinning fails.