Function axstd::thread::sleep_until

source ·
pub fn sleep_until(deadline: AxTimeValue)
Expand description

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

If one of multitask or irq features is not enabled, it uses busy-wait instead.