pub fn clock_nanosleep_absolute(id: ClockId, request: &Timespec) -> Result<()>
Available on crate feature thread only.
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.

References