Considering that epoll is Linux specific anyway, I would highly advise going straight to io_uring. epoll has a whole bunch of footguns in particular with edge triggered modes of operation; io_uring has a higher initial threshold in understanding how it works but is worth that effort.
(Unless you need to support older Linux kernels that have epoll but no io_uring yet.)
eqvinox|2 years ago
(Unless you need to support older Linux kernels that have epoll but no io_uring yet.)
bufo|2 years ago