cpu_id

Function cpu_id 

Source
pub fn cpu_id() -> usize
Expand description

获取当前 CPU 的 ID TODO: 暂时只支持单核,返回 0