pub fn pin_current_thread_to_cpu(cpu: usize) -> Result<(), String>
Pin the current thread to a specific CPU.