axhal::cpu

Function this_cpu_id

Source
pub fn this_cpu_id() -> usize
Expand description

Returns the ID of the current CPU.