Function rustix::thread::clock_nanosleep_relative
source · pub fn clock_nanosleep_relative(
id: ClockId,
request: &Timespec,
) -> NanosleepRelativeResult
Expand description
clock_nanosleep(id, 0, request, remain)
—Sleeps for a duration on a
given clock.
This is clock_nanosleep
specialized for the case of a relative sleep
interval. See clock_nanosleep_absolute
for absolute intervals.