rustix::process

Function sched_getcpu

Source
pub fn sched_getcpu() -> usize
Available on crate feature process only.
Expand description

sched_getcpu()—Get the CPU that the current thread is currently on.

§References