Comment on Way too many ways to wait on a child process with a timeoutparentComments−silon421ysignalfd / process descriptiors are the Windows style mechanism... what is missing are a few things like 'spawn' that returns a fd directly (eliminating races...)−blibble1ythere is no race from the parentthe pid will not be reused until you either handle sigchld or wait
Comments
signalfd / process descriptiors are the Windows style mechanism... what is missing are a few things like 'spawn' that returns a fd directly (eliminating races...)
there is no race from the parent
the pid will not be reused until you either handle sigchld or wait