This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: SIGCHLD ignored
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Vladimir Prus <ghost at cs dot msu dot su>, Hamish Rodda <rodda at kde dot org>, Daniel Jacobowitz <dan at codesourcery dot com>
- Date: Fri, 13 Jun 2008 11:28:48 +0100
- Subject: Re: SIGCHLD ignored
- References: <200806112121.06783.ghost@cs.msu.su> <200806130023.45571.pedro@codesourcery.com> <200806131007.53625.ghost@cs.msu.su>
A Friday 13 June 2008 07:07:52, Vladimir Prus wrote:
> On Friday 13 June 2008 03:23:45 Pedro Alves wrote:
> I realize that the asserts in sigchld handlers are meant to catch problems,
> and we can't remove them -- I just wonder if in this case we have a real
> problem due to race.
In this case, yes, it's just a protective measure against hitting the
wrong signal handler.
--
Pedro Alves