This is the mail archive of the
rda@sources.redhat.com
mailing list for the rda project.
Re: NPTL work committed to jimb-rda-nptl-branch
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: rda at sources dot redhat dot com
- Date: Thu, 2 Dec 2004 15:15:42 -0500
- Subject: Re: NPTL work committed to jimb-rda-nptl-branch
- References: <vt2r7mlw0t2.fsf@zenia.home>
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.
--
Daniel Jacobowitz