On Fri, Apr 10, 2015 at 10:37 PM, Martin Buchholz <marti...@google.com> wrote:
> > + } else if (siginfo.si_code == CLD_KILLED || siginfo.si_code == > CLD_DUMPED) { > > Using siginfo probably won't work under load because multiple signals > arriving at the same time are coalesced into one, at least on Linux. > Unix signals are sadly totally broken. > Of course I was wrong - I should have looked more closely at the code - you're not using signals, despite the use of siginfo! --- Can you explain why you chose to use waitid instead of waitpid?