Structs§
Functions§
- current_
id - Raw
UId::as_usize()of the calling thread, or-1if there is no current thread (kernel pre-init). - exit
- sleep
- sleep_
for - spawn_
thread - Spawn a thread.
ctxis delivered tofunc_ptras its sole argument; caller owns the lifetime of the pointee. - yield_
thread