3 ms·
Referring to comments below the original article: So when epoll doesn't cope with regular files as author expected, why not use better interface: kqueue?
by kunley 15y ago
Referring to comments below the original article:
So when epoll doesn't cope with regular files as author expected, why not use better interface: kqueue?
- bnoordhuis 15y agolinux doesn't have kqueue. But kqueue is only an API, you could emulate it with io_submit() and io_getevents(). A bigger obstacle is that not all file systems support asynchronous I/O, the io_*() syscalls won't help you there.