4 ms·
The author appears to care about performance. That is why I'm surprised to see the choice of switching to level-triggered interrupts instead of edge-triggered.
by audidude 13y ago
The author appears to care about performance. That is why I'm surprised to see the choice of switching to level-triggered interrupts instead of edge-triggered. This really defeats one of the most important performance improvements of epoll().
See `man epoll' for an excellent explanation of the difference.
- X-Istence 13y agoThe problem is that embedding an edge triggered file descriptor into an event loop that expects level triggered is a HUGE pain in the ass. I wrote two articles on the matter: http://funcptr.net/2012/09/10/zeromq---edge-triggered-notification/ http://funcptr.net/2012/09/10/zeromq---edge-triggered-notifi... http://funcptr.net/2013/04/20/embedding-zeromq-in-the-libev-event-loop/ http://funcptr.net/2013/04/20/embedding-zeromq-in-the-libev-...