httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <>
Subject Re: yet another threaded MPM for Unix
Date Mon, 23 Jul 2001 19:07:24 GMT
Cool!  I would like to commit this MPM and start working to get it production ready. This
model is much easier to manage that the current multi thread accept model of the threaded
MPM.  This MPM also lends itself to developing an event driven network API.


----- Original Message -----
From: "Jeff Trawick" <>
To: <>
Sent: Monday, July 23, 2001 2:00 PM
Subject: yet another threaded MPM for Unix

> I've had this for a while but never got around to posting it.
> This is [currently] single process only.
> This [currently] has a single accept thread per process.
> The accept thread queues work elements to worker threads, which then
> call a function pointer in the work element.
> Currently it is hard-coded to use
> pthread_cond_wait()/pthread_cond_signal().  The desire is to have that
> mechanism be chosen based upon the platform.
> Graceful restart is not as nice as current MPMs where the worker
> thread calls accept()...  when a non-worker thread calls accept() you
> can be left with extra connections needing to be processed at the time
> of a graceful restart request... thus, it takes longer to stop serving
> requests with the old configuration.
> --
> Jeff Trawick | | PGP public key at web site:
>              Born in Roswell... married an alien...

View raw message