3 ms·
This sounds like something straight out of the Unix Hater's Handbook. :) But epoll is not the fault of Unix. Linux gets it wrong, but others do not. There's a
by Gracana 10y ago
This sounds like something straight out of the Unix Hater's Handbook. :)
But epoll is not the fault of Unix. Linux gets it wrong, but others do not. There's a good (and wildly entertaining) discussion/rant about it in this BSD Now episode: https://www.youtube.com/watch?v=l6XQUciI-Sc https://www.youtube.com/watch?v=l6XQUciI-Sc
- bitwize 10y agoepoll (and kqueue) are products of Unix's approach to I/O, which is synchronous by design. You can build synchronous I/O routines out of asynchronous primitives, but not the reverse (without resorting to separate processes/tasks/threads). epoll is more wrong and broken than kqueue, but neither are up to the level of capability the NT kernel offers.