what's the best unix way to jointly wait() for a process to terminate and also for a pipe read() to complete? is it just a blocking read+ a SIGCHLD handler?
Conversation
Before pidfd, you could use signalfd. pidfd is much nicer since it can be used in libraries, etc.


