httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "César Leonardo Blum Silveira" <cesa...@gmail.com>
Subject Module address space
Date Tue, 22 May 2007 19:08:24 GMT
Hello all,

I have some questions about handling data within modules. I will try
to be as clear as possible.

1) Each module is loaded once per server, right? In which processes
address space is it loaded?
2) Suppose I have a global variable in a module. Using the prefork
MPM, will all processes see the updated value all the time, or will
each process have a separate value for the global variable?
3) If I want to have an apr_table_t in my module config structure, is
there any way to share it between the Apache processes (again, suppose
that I'm using the prefork MPM)?

Thank you in advance,

-- 
César L. B. Silveira
http://cesarbs.wordpress.com/

Mime
View raw message