Date: Mon, 24 Feb 2003 13:27:06 -0700 From: G-der <gder@gder.net> To: Jan Grant <Jan.Grant@bristol.ac.uk> Cc: wgrim@siue.edu, kla@tu-sofia.acad.bg, freebsd-hackers@freebsd.org Subject: Re: Properly reaping children from a fork() Message-ID: <20030224202706.GA99643@gder.net> In-Reply-To: <Pine.GSO.4.44.0302241959160.29367-100000@mail.ilrt.bris.ac.uk> References: <20030224183953.GB80651@gder.net> <Pine.GSO.4.44.0302241959160.29367-100000@mail.ilrt.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you everyone for your replies. The bug was a pretty silly one and one that I should have caught just stepping through the code. The call to signal() to install the handler was beging made after the fork(). So the children had a handler installed but not the parent. I moved the signal() call above the accept loop and before the fork and that seems to have cleared up that issue. Again, thanks for the prompt responses... Regards Gene Dinkey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030224202706.GA99643>