Function rustix::thread::clock_nanosleep_absolute
pub fn clock_nanosleep_absolute(id: ClockId, request: &Timespec) -> io::Result<()>The portability is definied by:
#[cfg(any(linux_raw,
all(libc,
not(any(target_os = "dragonfly", target_os = "emscripten", target_os =
"freebsd", target_os = "ios", target_os = "macos", target_os = "openbsd",
target_os = "redox", target_os = "wasi",)))))]Documentation
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.