Function axstd::thread::sleep

source ·
pub fn sleep(dur: Duration)
Expand description

Current thread is going to sleep for the given duration.

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