axstd::thread

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