3 ms·
epoll isn't designed to hide anything from you. If anything, it's designed to expose more of the low-level details to allow building a more scalable event loop
by JoshTriplett 11y ago
epoll isn't designed to hide anything from you. If anything, it's designed to expose more of the low-level details to allow building a more scalable event loop. For instance, see the whole edge-triggered versus level-triggered bit, a distinction wholly unavailable in poll or select.
In particular, epoll wasn't designed to be a "higher-level" event loop than poll or select; while more powerful, it's arguably lower-level. Hence my comment that it isn't an abstraction.