httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: [PATCH 2] worker MPM deadlock
Date Wed, 22 May 2002 17:55:45 GMT
"Ryan Bloom" <rbb@covalent.net> writes:

> > From: Aaron Bannert [mailto:aaron@clove.org]
> > 
> > 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 | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message