Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Don't read from timerfd and eventfd on each EventLoop tick #9192
We do not need to issue a read on timerfd and eventfd when the EventLoop wakes up if we register these as Edge-Triggered. This removes the overhead of 2 syscalls and so helps to reduce latency.
Less syscalls and so reducing overhead.
Co-authored-by: Carl Mastrangelo firstname.lastname@example.org