4 ms·
But there is, io_uring.
by yxhuvud 4y ago
But there is, io_uring.
- m00dy 4y agoio_uring, a magical keyword I used to use in job interviews...
- healthandsafety 4y agoCare to elaborate?
- kortilla 4y agoEveryone says it’s better on paper but you rarely get to actually use it in real code.
- guenthert 4y agoThat is async i/o afaiu and not classic Unix non-blocking i/o (O_NONBLOCK given to 2 open()).
- yxhuvud 4y agoSure. But why does the difference matter? It is not as if epoll is classic Unix either.
- guenthert 4y agoepoll might not be, but poll is (depending on how one would interpret 'classic'). Anyhow, I wrongly assumed the difference mattered in respect of whether one could use io_uring in combination with epoll(). It turns out, one can [1] or [2]. [1] https://stackoverflow.com/questions/70132802/waiting-for-epoll-and-io-uring-simultaneously https://stackoverflow.com/questions/70132802/waiting-for-epo... [2] https://unixism.net/loti/tutorial/register_eventfd.html https://unixism.net/loti/tutorial/register_eventfd.html
- yxhuvud 4y agoHaving done my own share of uring bindings I wish I had found work places that appreciated that.