On Wed, 22 May 2002, Aaron Bannert wrote:

> The reason it's not implemented is because it's not guaranteed to do
> anything. Yielding is up to the discresion of the underlying system,
> and depending on many things it may behave differently. We can not
> get predictable scheduling with any variant of yield() in a way that
> will be portable. The only method we have right now for predictable
> scheduling in APR is apr_thread_cond.h.

I'd say it's up to us to guarantee that it *does* do something on a
cross-platform basis.  That's APR's job.  If we're not going to do that,
then it needs to go away.  Having a function in the API that doesn't do
what it's supposed to do uniformly across platforms is bad karma.  It
works on Win32, why shouldn't it work on Unix?

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   [EMAIL PROTECTED]
   Charlottesville, VA


Reply via email to