From owner-freebsd-arch Mon Oct 7 14:40:22 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05CC037B408; Mon, 7 Oct 2002 14:40:21 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56DE143E7B; Mon, 7 Oct 2002 14:40:20 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc03.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021007214019.LSWJ22381.sccrmhc03.attbi.com@InterJet.elischer.org>; Mon, 7 Oct 2002 21:40:19 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id OAA35732; Mon, 7 Oct 2002 14:29:24 -0700 (PDT) Date: Mon, 7 Oct 2002 14:29:22 -0700 (PDT) From: Julian Elischer To: Don Lewis Cc: jhb@FreeBSD.ORG, arch@FreeBSD.ORG, jmallett@FreeBSD.ORG Subject: Re: [jmallett@FreeBSD.org: [PATCH] Reliable signal queues, etc., In-Reply-To: <200210072123.g97LNGvU033246@gw.catspoiler.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 7 Oct 2002, Don Lewis wrote: > > Also, we might should check P_WEXIT and abort in fork1() if it is > > set. (We don't appear to do that presently.) > > > > Probably, but the list is also modified in the exit code. All those > processes that we are sending SIGKILL to are removing themselves from > the list. > If you are forking and exititng at once you are obviously a threaded program. In that case the single-threading code in fork and exit will kick in and the fork() will abort if anothe rthread got to exit() first, and exit() will delay until it is safe to proceed if another thread is in fork() first. (not sure if this is relevant to what you are talking about.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message