apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bloom <...@covalent.net>
Subject Re: [PATH] MPMT single acceptor patch
Date Wed, 25 Jul 2001 02:00:23 GMT
On Tuesday 24 July 2001 09:08, Justin Erenkrantz wrote:
> [ Adding dev@apr ]
> On Tue, Jul 24, 2001 at 08:44:52AM -0700, Ryan Bloom wrote:
> > This patch uses the original fdqueue.[ch] logic to implement the single
> > acceptor, multiple worker logic in the threaded MPM.  The original
> > fdqueue logic can be found in apache-apr, but I have attached a copy to
> > this message.
> Should we APRize the fdqueue.[ch] code and stick it in apr-util?  It
> may be a little lightweight to merit that though.  However, it also
> relies on pthread condition variables.  Maybe now would be a good
> time to add condition variables to APR?  Do other platforms have
> the concept of condition variables?
> (I know Aaron would love to see condition variables in APR.)  -- justin

Yes, this should be APR'ized.  It was harder to do that than it was to just post the code.

The queue logic probably doesn't belong in apr-util though.  It is pretty specific to Apache,
and abstracting it out would most likely require more mutexes, that we want to avoid.


Ryan Bloom                        	rbb@apache.org
Covalent Technologies			rbb@covalent.net

View raw message