4 ms·
FWIW io_uring does have support for waitid. https://www.man7.org/linux/man-pages/man3/io_uring_prep_waitid.3.html https://www.man7.org/linux/man-pages/man3/io_
by nf3 2y ago
FWIW io_uring does have support for waitid.
https://www.man7.org/linux/man-pages/man3/io_uring_prep_waitid.3.html https://www.man7.org/linux/man-pages/man3/io_uring_prep_wait...
- broken_broken_ 2y agoMany thanks! I have added it to the article in due form now.
- EdSchouten 2y agoAn interesting aspect of waitid is that it allows you to access the full exit code of the process (i.e., the entire int instead of just the bottom 8 bits). Unfortunately, many operating systems implement waitid() on top of one of the older APIs, meaning the top bits get lost regardless…