Skip to main content Skip to main content
Pigweed's logo Pigweed
  1. Home
  2. Reference
  3. Rust
  4. pw_thread
  5. sleep_until

sleep_until

Function sleep_until 

Source
pub fn sleep_until(wakeup_time: Instant<SystemClock>)
Expand description

Blocks the execution of the current thread until at least the specified time has been reached. This function may block for longer due to scheduling or resource contention delays.