Function tiny_std::thread::sleep

source ·
pub fn sleep(duration: Duration) -> Result<()>
Expand description

Sleep the current thread for the provided Duration

Errors

Errors on a malformed duration, or userspace data copying errors