httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <bri...@apache.org>
Subject Re: worker mpm -- fdqueue question
Date Wed, 07 Aug 2002 16:19:07 GMT
Ian Holsman wrote:

> am I reading this right??
>
> is the fdqueue a stack?


Yes

> wouldn't this lead to starvation on a busy system?


It could, in the case where the stack becomes
full.  But I think I may be able to fix this
without having to change the stack to a queue.
I'll check the code and respond with more details
in a couple of minutes.

(The motivation for using a stack is that it
requires fewer operations in the mutex-protected
code path than a queue implementation would.
Shortening this code path reduces the probability
of mutex contention.)

Brian



Mime
View raw message