pub fn sleep()Expand description
Put the current thread in the “sleeping” state, only to be continue when something calls KernelPID::wakeup() on its PID.
pub fn sleep()Put the current thread in the “sleeping” state, only to be continue when something calls KernelPID::wakeup() on its PID.