From owner-freebsd-threads@FreeBSD.ORG Fri Apr 18 16:08:23 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E91C537B401; Fri, 18 Apr 2003 16:08:23 -0700 (PDT) Received: from snark.ratmir.ru (snark.ratmir.ru [213.24.248.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CA0C43FE5; Fri, 18 Apr 2003 16:08:22 -0700 (PDT) (envelope-from alexs@snark.ratmir.ru) Received: from snark.ratmir.ru (alexs@localhost [127.0.0.1]) by snark.ratmir.ru (8.12.9/8.12.9) with ESMTP id h3IN8KC2063680; Sat, 19 Apr 2003 03:08:21 +0400 (MSD) (envelope-from alexs@snark.ratmir.ru) Received: (from alexs@localhost) by snark.ratmir.ru (8.12.9/8.12.9/Submit) id h3IN8J4M063675; Sat, 19 Apr 2003 03:08:19 +0400 (MSD) Date: Sat, 19 Apr 2003 03:08:19 +0400 From: Alex Semenyaka To: Daniel Eischen Message-ID: <20030418230818.GE3693@snark.ratmir.ru> References: <20030418224522.GA63339@snark.ratmir.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: freebsd-hackers@freebsd.org cc: Alex Semenyaka cc: David Xu cc: freebsd-threads@freebsd.org Subject: Re: libpthread patch X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 23:08:24 -0000 On Fri, Apr 18, 2003 at 06:53:54PM -0400, Daniel Eischen wrote: > I don't think you can always set SA_NOCLDWAIT because it could > screw up wait() in programs that don't set SA_NOCLDWAIT. Sure, and I wrote it in that PR: zombie is the information for the wait, no zombie - no infromation. But are there programs which call signal(SIGCHLD, SIG_IGN) and then trying to wait()? I supposed that there are no such: suggested behaviour of signal() is the standard for a lot of systems. Yes, I know that most of them are SysV. But do we have such non-portable BSD-only products trying to use signal(SIGCHLD, SIG_IGN)/wait()? I may be wrong of course, but would anybody points me out the product that will be broken after such changes? Thanks in advance! SY, Alex