From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <53104C58.3040903@xenomai.org> Date: Fri, 28 Feb 2014 09:44:08 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <530F96D3.4040407@xenomai.org> In-Reply-To: <530F96D3.4040407@xenomai.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] [Xenomai-git] Philippe Gerum : copperplate/registry: reap sysregd selectively List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix , xenomai@xenomai.org On 02/27/2014 08:49 PM, Gilles Chanteperdrix wrote: > On 02/27/2014 04:54 PM, git repository hosting wrote: >> memset(&sa, 0, sizeof(sa)); >> sa.sa_handler = SIG_IGN; >> sigaction(SIGCHLD, &sa, NULL); > > Why not masking the signal here instead of ignoring it? So that the > notifications which would happen during the short interval are not lost? > > We only want the child to be reaped instead of going zombie, we don't actually care about the exit status. -- Philippe.