Stas Bekman wrote:

Philippe M. Chiasson wrote:

I noticed browsing some code that there is a threaded_mpm field in mp's server config structure.

That is a global proprety and doesn't have to live in the server config, so this patches replaces
that code with the (already there, but not used) threaded_mpm global.

It doesn't make a significant speed/memory improvement, but it removes a bit of unnecessary
logic.


I wonder why do we need the modperl_global_ interface for that. Won't a static variable do the trick?

Well, correct me if I am wrong, but I just thought the modperl_global_ interface was there mainly to clearly
identify globals and centralize their managments. So that's why I thought it should be used.

I guess the more important question is : What is the modperl_global_ interface intended for ?

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to