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

sleep

Function sleep 

Source
pub fn sleep(sleep_duration: Duration<SystemClock>)
Expand description

Blocks the execution of the current thread for at least the specified duration. This function may block for longer due to scheduling or resource contention delays.