hi all
cvs now has interfaces to ap_show_mpm and ap_mpm_query, which can be used to find out all kinds of interesting stuff about your apache environment.
geoff++
>one thing I found while I was implementing these functions was that Apache::MPM_IS_THREADED already exists (stas even pointed to the code for it in a previous post). so, rather than nix it and implement the Apache::MPM::mpm_is_threaded shortcut, I just kept the existing shortcut as is.
for the record, Apache::MPM_IS_THREADED produces the same as the new perl function
Apache::MPM::mpm_query(MPMQ_IS_THREADED);
but mpm_query() is a direct interface, so you can ask about stuff like the setting of MinSpareThreads, etc.
It's a bit confusing to have Apache::MPM_IS_THREADED and Apache::MPMQ_IS_THREADED, the first being the run_time value, the second just the key you pass to the query. But I guess with a solid documentation this should be fine.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html