Re: SIGCHLD and sigaction()

2020-08-18 Thread Mouse
>> Perhaps it would need a new flavour of file descriptor, [...] > Linux has apparently done this: pidfd (file descriptors representing > a process). The idea is that you can pass them to various system > call variants that otherwise take pids, without the risk that the > process has exited in

Re: SIGCHLD and sigaction()

2020-08-18 Thread Rhialto
On Sat 15 Aug 2020 at 16:46:13 -0400, Mouse wrote: > Personally, I don't like it; I think signals should be much like > hardware interrupts in that a second instance happening before the > first is serviced gets silently merged. If you want some sort of > queued notification of child death, it