Function arceos_api::task::ax_sleep_until
source · pub fn ax_sleep_until(deadline: AxTimeValue)
Expand description
Current task is going to sleep, it will be woken up at the given deadline.
If the feature multitask
is not enabled, it uses busy-wait instead