devela::_dep::rustix::thread

Function clock_nanosleep_absolute

pub fn clock_nanosleep_absolute(
    id: ClockId,
    request: &__kernel_timespec,
) -> Result<(), Errno> 
Available on crate feature dep_rustix 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