httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wmpe...@gnu.org (William M. Perry)
Subject Re: Single listener - multi-worker
Date Fri, 27 Jul 2001 19:23:43 GMT
Ryan Bloom <rbb@covalent.net> writes:

> On Friday 27 July 2001 11:31, Justin Erenkrantz wrote:
> > On Fri, Jul 27, 2001 at 11:23:05AM -0700, Ryan Bloom wrote:
> > > Unless somebody objects, I will commit my latest patch to the threaded
> > > MPM later this weekend. This is the patch that implements a multi-process
> > > single acceptor/multi-worker model.
> >
> > +1.
> >
> > What's going to happen with condition variables?  Just rely on
> > pthread_cond_wait, etc?
> >
> > Whenever any of us get around to having condition variables in APR,
> > we can take it out and use APR's instead rather than using
> > pthread_cond directly.  -- justin
> 
> That was my thought.  We can add them at any time, and just port the code
> to use them once we have them.  If we wait for the APR condition
> variables, it is really easy to get stuck for a long time.

I've got a cross-platform condition variable implementation here @ aventail
that we ended up not using.  I'm checking with our CTO about assigning it.
Would be fairly easy to make it APR'd.

The only fun thing about it was the win32 code, the rest is pretty trivial.

-bp
-- 
Ceterum censeo vi esse delendam

Mime
View raw message