From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 31 06:05:35 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88C7916A4D0 for ; Wed, 31 Dec 2003 06:05:35 -0800 (PST) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8915043D45 for ; Wed, 31 Dec 2003 06:05:34 -0800 (PST) (envelope-from marcolz@stack.nl) Received: from toad.stack.nl (zen.stack.nl [2001:610:1108:5010::130]) by mailhost.stack.nl (Postfix) with ESMTP id 3FF2D7AD#973B81F0E0; Wed, 31 Dec 2003 15:05:33 +0100 (CET) Received: by toad.stack.nl (Postfix, from userid 333) id 6F98D97; Wed, 31 Dec 2003 15:05:33 +0100 (CET) Date: Wed, 31 Dec 2003 15:05:33 +0100 From: Marc Olzheim To: Daniel Eischen Message-ID: <20031231140533.GA56158@stack.nl> References: <20031231111642.GA13386@stack.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD toad.stack.nl 4.9-RC FreeBSD 4.9-RC X-URL: http://www.stack.nl/~marcolz/ User-Agent: Mutt/1.5.5.1i cc: Marc Olzheim cc: hackers@freebsd.org Subject: Re: libc_r/uthread/uthread_join.c X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 14:05:35 -0000 On Wed, Dec 31, 2003 at 08:47:03AM -0500, Daniel Eischen wrote: > > Is there a reason why in the case that a thread is not done yet, > > pthread_join() does not call _thread_kern_sig_undefer() ? > [snip] > > No, it looks like you found a bug. Committed, thanks! Hmm, ok ;-) But then why is _thread_kern_sig_undefer() called within every if-case, instead of just below the if ? It looked like it was contructed this way to be able to omit _thread_kern_sig_undefer() in that specific case... ;-) Zlo