From owner-freebsd-stable Wed May 1 9:15: 7 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 1756337B416 for ; Wed, 1 May 2002 09:15:04 -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 IAA69235; Wed, 1 May 2002 08:59:05 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g41Fx4Z92027; Wed, 1 May 2002 08:59:04 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200205011559.g41Fx4Z92027@arch20m.dellroad.org> Subject: Re: Bug in pthread_cancel() In-Reply-To: <20020501121151.GR66061@daemon.ninth-circle.org> "from Jeroen Ruigrok/asmodai at May 1, 2002 02:11:51 pm" To: "Jeroen Ruigrok/asmodai" Date: Wed, 1 May 2002 08:59:04 -0700 (PDT) Cc: Daniel Eischen , Archie Cobbs , 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 Jeroen Ruigrok/asmodai writes: > >Hmm, what about just bypassing the pthread_cancel() if the > >thread is already in the process of exiting? > > Makes sense to me. > > And the testcase in the PR is solved adequately with it? I didn't include a test case but I'll give your patch a try later today. 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