"Ryan Bloom" <[EMAIL PROTECTED]> writes:

> > From: Aaron Bannert [mailto:[EMAIL PROTECTED]]
> > 
> > On Wed, May 22, 2002 at 01:31:06PM -0400, Bill Stoddard wrote:
> > > Yep this is a problem. I believe the pthread spec states that the
> > cond_wait can be
> > > spuriously triggered.
> > 
> > I'm pretty sure it does, which is why we always check for the
> condition
> > when we wake up and go right back to sleep if the condition hasn't
> been
> > met.
> 
> I'll raise you and say without a doubt, pthread_cond can be triggered
> spuriously.

Yep, I too have seen it repeatedly.  Infuriating to have to code for
something like that.

-- 
Jeff Trawick | [EMAIL PROTECTED]
Born in Roswell... married an alien...

Reply via email to