Function rustix::thread::clock::clock_nanosleep_absolute
source · pub fn clock_nanosleep_absolute(id: ClockId, request: &Timespec) -> Result<()>
Expand description
clock_nanosleep(id, TIMER_ABSTIME, request, NULL)
—Sleeps until an
absolute time on a given clock.
This is clock_nanosleep
specialized for the case of an absolute sleep
interval. See clock_nanosleep_relative
for relative intervals.