From owner-freebsd-current Tue Feb 29 20:48: 3 2000 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 526D037BEFE for ; Tue, 29 Feb 2000 20:47:57 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id UAA02375; Tue, 29 Feb 2000 20:47:55 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id UAA74251; Tue, 29 Feb 2000 20:47:54 -0800 (PST) (envelope-from jdp@polstra.com) Date: Tue, 29 Feb 2000 20:47:54 -0800 (PST) Message-Id: <200003010447.UAA74251@vashon.polstra.com> To: eischen@vigrid.com Subject: Re: pthread_{suspend,resume}_np broken? In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Cc: current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Daniel Eischen wrote: > On Tue, 29 Feb 2000, John Polstra wrote: > > > Shouldn't the test against PS_SUSPENDED be "==" instead of "!="? > > Yes, it should be "==" instead of "!=". > > Go ahead and fix it if you want :-) Thanks. I'll ask Jordan if I may commit the fix. What about the other part of my question? I still don't understand why in my test program pthread_suspend_np() isn't suspending the thread. I think it's a separate bug from the pthread_resume_np() bug. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message