Function axtask::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.