Date: Mon, 7 Oct 2002 14:29:22 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: Don Lewis <dl-freebsd@catspoiler.org> Cc: jhb@FreeBSD.ORG, arch@FreeBSD.ORG, jmallett@FreeBSD.ORG Subject: Re: [jmallett@FreeBSD.org: [PATCH] Reliable signal queues, etc., Message-ID: <Pine.BSF.4.21.0210071426290.34884-100000@InterJet.elischer.org> In-Reply-To: <200210072123.g97LNGvU033246@gw.catspoiler.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0210071426290.34884-100000>