On 06/24/2014 11:36 AM, Eric Covener wrote:
On Tue, Jun 24, 2014 at 11:06 AM, Jim Jagielski <[email protected]> wrote:
Ideally, I'd like to have eventopt backported to 2.4, so others
wishing (and working) towards the same thing, would be GREAT.
I thought the changes were more subtle than the OP implies. Maybe a
README or STATUS specific to eventopt/ would help?
Hmm, they may be. I was comparing the 2.49 release of MPM_event against
MPM_eventopt.
It looks like there were many additions made to MPM_event this month, so
the two may be closer the I originally thought.
In any case, as I poke around with it I can submit docs on how I
perceive it to be implemented.
My personal focus is in extending mod_php to work with hooks - it looks
like this was done for Apache 1.3 at some point. My goal is to make a
modified Joomla! that instead of processing everything during the
apache handler event, the authetication, authorization, request
rewriting, caching, and such can be moved into the appropriate apache hooks.
It was there that the 2.49 mpm_event code seemed to be setup such that
every one of those hooks would create a new php thread and be called
directly - rather then making an event callback to PHP so existing php
threads could be reused.