[hackers] Re: [dwm][PATCH] Use sigaction(SA_NOCLDWAIT) for SIGCHLD handling

From: Chris Down <chris_AT_chrisdown.name>
Date: Tue, 26 Jul 2022 22:08:19 +0100

NRK writes:
>On Tue, Jul 26, 2022 at 09:45:08PM +0100, Chris Down wrote:
>> Can there really be zombies before setup()? At that point we haven't even
>> started in earnest yet, I don't see how a child would even get going.
>
>I'm not sure myself. But that's what the old comment was suggesting:
>
> /* clean up any zombies immediately */
> sigchld(0);

Pretty sure that comment means "[set up the handler to] clean up any zombies
immediately" -- I don't see anything else it could be.
Received on Tue Jul 26 2022 - 23:08:19 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 27 2022 - 03:12:29 CEST