Skip to main content

sleep_until

Function 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. The deadline is measured against the monotonic clock.