From owner-freebsd-stable Thu May 2 12:30: 9 2002 Delivered-To: freebsd-stable@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id EC86137B417 for ; Thu, 2 May 2002 12:30:02 -0700 (PDT) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id MAA78249; Thu, 2 May 2002 12:13:25 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g42JDPA97178; Thu, 2 May 2002 12:13:25 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200205021913.g42JDPA97178@arch20m.dellroad.org> Subject: Re: Bug in pthread_cancel() In-Reply-To: <200205011749.g41Hnbs92444@arch20m.dellroad.org> "from Archie Cobbs at May 1, 2002 10:49:37 am" To: Archie Cobbs Date: Thu, 2 May 2002 12:13:25 -0700 (PDT) Cc: eischen@pcnet1.pcnet.com, "Jeroen Ruigrok/asmodai" , freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Archie Cobbs writes: > Daniel- > > Your patch does not fix the problem. The call to pthread_cancel() > happens before the thread starts to exit. Since the thread has But! Your patch is also required -- not to fix my particular problem but to fix the case where pthread_cancel() is called while the target thread is already in the middle of doing cleanups. Sorry for not seeing that before.. duh. I'll add your patch to the PR. Thanks, -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message