Module rustix::thread::clock

source ·

Re-exports§

  • pub use crate::timespec::Nsecs;
  • pub use crate::timespec::Secs;
  • pub use crate::timespec::Timespec;
  • pub use crate::clockid::ClockId;

Enums§

Functions§

  • clock_nanosleep(id, TIMER_ABSTIME, request, NULL)—Sleeps until an absolute time on a given clock.
  • clock_nanosleep(id, 0, request, remain)—Sleeps for a duration on a given clock.
  • nanosleep(request, remain)—Sleeps for a duration.