From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17592 invoked by alias); 18 Sep 2007 12:44:06 -0000 Received: (qmail 17583 invoked by uid 22791); 18 Sep 2007 12:44:05 -0000 X-Spam-Check-By: sourceware.org Received: from province.act-europe.fr (HELO province.act-europe.fr) (212.157.227.214) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 18 Sep 2007 12:43:58 +0000 Received: by province.act-europe.fr (Postfix, from userid 560) id 6573B166345; Tue, 18 Sep 2007 14:43:55 +0200 (CEST) Date: Tue, 18 Sep 2007 12:44:00 -0000 From: Jerome Guitton To: Mark Kettenis Cc: gdb-patches@sourceware.org Subject: Re: [RFA/hpux] acknowledging TTEVT_LWP_EXIT Message-ID: <20070918124355.GF83247@adacore.com> References: <20070918094806.GA1859@adacore.com> <200709181020.l8IAKKtL021625@brahms.sibelius.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200709181020.l8IAKKtL021625@brahms.sibelius.xs4all.nl> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-09/txt/msg00240.txt.bz2 Mark Kettenis (mark.kettenis@xs4all.nl): > > 2007-09-18 Jerome Guitton > > > > * inf-ttrace.c (inf_ttrace_private_thread_info): New structure type. > > (inf_ttrace_delete_dying_threads_callback): New function. > > (inf_ttrace_resume): After resuming the execution, iterate over > > the dying threads to delete them for the thread list. > > (inf_ttrace_wait): on TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE, > > mark the corresponding thread as dying instead of removing it > > from the thread list. > > (inf_ttrace_thread_alive): return 0 for dying threads. > > Looks ok to me. Thank you. Checked in. -Jerome