tokio-timerfd

Crates.iotokio-timerfd
lib.rstokio-timerfd
version0.2.0
sourcesrc
created_at2019-03-26 20:12:38.275158
updated_at2022-01-14 16:01:50.235468
descriptiontimerfd support for tokio
homepagehttps://github.com/polachok/tokio-timerfd
repositoryhttps://github.com/polachok/tokio-timerfd
max_upload_size
id124036
size17,743
Alexander Polakov (polachok)

documentation

https://docs.rs/tokio-timerfd

README

tokio-timerfd

Linux timerfd for Tokio.

This crates provides tokio-timer-like API on top of timerfd. timerfd is a Linux-specific API providing timer notifications as file descriptor read events.

The advantage of timerfd is that it has more granularity than epoll_wait(), which only provides 1 millisecond timeouts. timerfd API allows for nanosecond precision, but precise timing of the wakeup is not guaranteed on a normal multitasking system.

Commit count: 22

cargo fmt