when i did the MPM stuff i didn't want to try to figure out an interface
for the command line arguments from the generic http_main to the MPM.
doing the ONE_PROCESS thing was easy, and put the mpm into the same boat
as the other modules... no access to the command line.

between command lines, config files, registries, the environment, ... it's
pretty insane the number of interfaces you need to define.

at least we've merged the hokey <IfDef> conditionals with the environment
in 2.0 ... we have haven't we?  or is that still yet another variable
space?

if -X causes DEBUG to be defined and prefork uses that as a hint to do
ONE_PROCESS, that sounds perfectly fine to me.

and when will unix thread debugging catch up with the 1980s?  i was
debugging multithreaded programs with ease on OS/2 1.x over a decade ago.

btw, even though -X exists, i frequently debug apache 1.3 by restricting
it to a single child process and attaching to that child... because some
of the -X changes alter the behaviour.

-dean

Reply via email to