3 ms·
I would argue the api of kqueue is clunkier and less general. Io_uring can keep track of events through using event_fds, but yes, that is perhaps not optimal.
by yxhuvud 6y ago
I would argue the api of kqueue is clunkier and less general.
Io_uring can keep track of events through using event_fds, but yes, that is perhaps not optimal.
- cyphar 6y agoYes, sorry I muddled things up (and now the edit window has elapsed). io_uring isn't the same as kqueue because it doesn't permit asynchronous notification of job completion nor can you do more complicated chained operations, epoll is the Linux equivalent of kqueue (and in that comparison, kqueue is better).