Skip to main content

current_id

Function current_id 

Source
pub fn current_id() -> isize
Expand description

Raw UId::as_usize() of the calling thread, or -1 if there is no current thread (kernel pre-init).