RFR 9: 8077350 Process API Updates Implementation Review
Martin Buchholz
martinrb at google.com
Sat Apr 11 05:50:53 UTC 2015
On Fri, Apr 10, 2015 at 10:37 PM, Martin Buchholz <martinrb at 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?
More information about the core-libs-dev
mailing list