Great! I was looking into something like this. I assume ending up with epoll will be better?
(Unless you need to support older Linux kernels that have epoll but no io_uring yet.)
I've used IO Completion ports on Windows before, and found it to be pretty useful API but I guess this is also a useful addition.
Basically no good idea goes uncopied by Microsoft :)
https://learn.microsoft.com/en-us/windows/win32/api/ioringap...
>Minimum supported client Windows Build 22000
Alas I have no idea from that what the lowest version of Windows that supports this API is though.