httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronald Park <>
Subject fdqueue in Worker MPM
Date Mon, 06 Dec 2004 22:39:48 GMT
I have a few question about fdqueue in the Worker MPM.

First off, is it really a queue?  Looks like a stack to me: last
in == first out.  This could lead to starvation, no?

Second: how does ap_queue_push truly block on a full 'queue' (as
it says it does in the comment)? I see blocking for the big mutex
but nothing that checks and blocks on the queue being full.  And
without that, isn't it possible for push to go out of bounds?

Ronald Park <>

View raw message