axtask

Function sleep_until

Source
pub fn sleep_until(deadline: TimeValue)
Expand description

Current task is going to sleep, it will be woken up at the given deadline.

If the feature irq is not enabled, it uses busy-wait instead.