nix::sched

Function sched_getcpu

source
pub fn sched_getcpu() -> Result<usize>
Expand description

Determines the CPU on which the calling thread is running.