-
See this issue for all context. Tokio provides sleep_until which sleeps until a given instant of a monotonic clock. However, it does not provide any interfaces for sleeping until an absolute instant of a realtime clock (using posix timer terminology). This is possible in unix using a combination of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You can do this using the |
Beta Was this translation helpful? Give feedback.
You can do this using the
TimerFd
struct in thetokio-timerfd
crate.