Function nix::sched::sched_getcpu

source ·
pub fn sched_getcpu() -> Result<usize>
Available on crate feature sched only.
Expand description

Determines the CPU on which the calling thread is running.