Doug MacEachern wrote:
> On Wed, 13 Mar 2002, Stas Bekman wrote:
> 
> 
>>Under threaded mpm, is it safe to use a static variable which is set 
>>once at the bootstrap time and then is used only to read from.
>>
> 
> 100% ok if the module is loaded at startup.  there would be a small 
> race condition if not loaded until request time.
> however, rather than duplicate this table as 1.x did, it would be better 
> to patch httpd-2.0 to either export a function that returns the table
> or add an optional function to mod_status to retrieve it.

That's a good idea, Doug.

Would that be a bad idea to export the whole struct? or is it too dangerous?

I wish my mod_status, scoreboard patches had some feedback/ were 
committed :( httpd-dev is getting worse than p5p, where at least you get 
feedback on the patches. I'm totally discouraged to send any patches to 
httpd-dev :(

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to