Function rustix::thread::clock::nanosleep

source ·
pub fn nanosleep(request: &Timespec) -> NanosleepRelativeResult
Expand description

nanosleep(request, remain)—Sleeps for a duration.

This effectively uses the system monotonic clock.

§References