pub fn pin_current_thread(cpu: usize) -> Result<()>
Pins the calling thread to one CPU. Returns Unsupported on macOS, which has no hard affinity.
Unsupported