Functions§
- deadline_
after - The instant
base + d, saturating whereInstant + Durationwould panic — the single owner of “turn a delay into a deadline”. - deadline_
from_ now base= now. Seedeadline_after.- duration_
from_ secs - Seconds as an
f64→Duration, without the panicDuration::from_secs_f64raises. - now_
mono - now_
wall - Current wall-clock time as a
WallTime. - quantize_
to_ sleep_ quantum - Round
secondsto the nearest wholethread_sleep_quantumtick, the way C records do it: - sleep_
secs - Block the calling thread for
secs— CepicsThreadSleep, and the single owner of “turn a caller-supplied delay into a sleep”. - thread_
sleep_ quantum - The OS clock-tick period, in seconds — C
epicsThreadSleepQuantum().