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.
Bill
----- Original Message -----
From: "Jeff Trawick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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.
>
> http://daedalus.apache.org/~trawick/st.tar
>
> 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 | [EMAIL PROTECTED] | PGP public key at web site:
> http://www.geocities.com/SiliconValley/Park/9289/
> Born in Roswell... married an alien...
>