From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13859 invoked by alias); 3 Dec 2004 00:44:21 -0000 Mailing-List: contact rda-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rda-owner@sources.redhat.com Received: (qmail 13810 invoked from network); 3 Dec 2004 00:44:14 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 3 Dec 2004 00:44:14 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iB30iE2D018276 for ; Thu, 2 Dec 2004 19:44:14 -0500 Received: from zenia.home.redhat.com (sebastian-int.corp.redhat.com [172.16.52.221]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iB30iDr15244; Thu, 2 Dec 2004 19:44:13 -0500 To: Daniel Jacobowitz Cc: rda@sources.redhat.com Subject: Re: NPTL work committed to jimb-rda-nptl-branch References: <20041202201542.GA10670@nevyn.them.org> From: Jim Blandy Date: Fri, 03 Dec 2004 00:44:00 -0000 In-Reply-To: <20041202201542.GA10670@nevyn.them.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-q4/txt/msg00032.txt.bz2 Daniel Jacobowitz writes: > On Tue, Nov 23, 2004 at 01:12:57AM -0500, Jim Blandy wrote: > > + /* Under NPTL, LWP's simply disappear, without becoming a zombie or > > + producing any wait status. At the kernel level, we have no way of > > + knowing that the LWP's PID is now free and may be reused --- > > + perhaps by an entirely different program! So we need to use the > > + death events from libthread_db to help us keep our LWP table clean. > > FYI, that should not be true. I think there was at least one broken > Red Hat kernel which behaved this way, but nowadays the debugger should > see exit events for LWPs. This code isn't using ptrace events, though. This version is still trying to struggle along with waitpid and thread_db.