Re:Way too many ways to wait on a child process with a timeout
by broken_broken_ on Monday November 11, 2024 @05:28AM
(#42106025)
Many thanks! I have added it to the article in due form now.
Re:Way too many ways to wait on a child process with a timeout
by EdSchouten on Wednesday November 13, 2024 @04:36PM
(#42130260)
An 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…
https://www.man7.org/linux/man-pages/man3/io_uring_prep_wait...