httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <>
Subject RE: [PATCH 2] worker MPM deadlock
Date Wed, 22 May 2002 10:11:11 GMT
> From: [mailto:trawick@rdu88-251-
> "Bill Stoddard" <> writes:
> > Is there a unix equivalent to the Win32 Sleep(0) call? If so, then
> can rip out all this
> > cruft and use the patch I posted earlier.
> google for pthread_yield() and compare the doc with the doc for
> Win32's Sleep(0).  I suspect it is the same as long as we're dealing
> with pthreads.

The biggest problem with pthread_yield is that it doesn't always do
anything.  Some pthreads implementations don't really implement
pthread_yield, in fact, if I remember correctly AIX is one of those.  I
could be wrong about AIX though.  I do know that when I first wrote the
APR thread library, I specifically left out yield because it had
different results on different platforms.


View raw message