Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Feb 2000 20:47:54 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        eischen@vigrid.com
Cc:        current@freebsd.org
Subject:   Re: pthread_{suspend,resume}_np broken?
Message-ID:  <200003010447.UAA74251@vashon.polstra.com>
In-Reply-To: <Pine.SUN.3.91.1000229224700.20669A@pcnet1.pcnet.com>
References:  <Pine.SUN.3.91.1000229224700.20669A@pcnet1.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.SUN.3.91.1000229224700.20669A@pcnet1.pcnet.com>,
Daniel Eischen  <eischen@vigrid.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003010447.UAA74251>