httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <>
Subject Re: [PATCH 2] worker MPM deadlock
Date Wed, 22 May 2002 18:14:30 GMT
On Wed, 22 May 2002, Aaron Bannert wrote:

> CPU since it hits none of the yieldable system calls. On systems that do
> true context switching between userspace threads, this doesn't need to
> be implemented. It in no way guarantees that the execution will be
> yielded, since that's up to the scheduling mechanism.

If it isn't guaranteed to do something but is rather just a "hint", that's
fine, as long as it's documented.  But we should still make an attempt to
honor the hint if the underlying system will let us.

[For example, I know my research work frequently requires these hints
because ~10ms is farrrrr too long a timeslice in my field, and I love
using APR for my research projects... I personally just assumed
apr_thread_yield() did what I wanted until I looked into it and found that
it did nothing.]


   Cliff Woolley
   Charlottesville, VA

View raw message