httpd-wiki-changes mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpd Wiki] Update of "ModuleLife" by MarcMongenet
Date Thu, 18 Oct 2007 04:54:52 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The following page has been changed by MarcMongenet:
http://wiki.apache.org/httpd/ModuleLife

The comment on the change is:
or apr_shm_create()

------------------------------------------------------------------------------
  
  To know if we are in a child, we can check the AP_PARENT_PID environment variable: it is
only set in children on the WinNT MPM.
  
- '''Note:''' Some module take for granted that the post_config hook is only called in the
parent process. That's wrong (on Win32). But calling apr_global_mutex_create() in the parent
and in the child with the same filename does not hurt, the mutex is shared.
+ '''Note:''' Some module take for granted that the post_config hook is only called in the
parent process. That's wrong (on Win32). But calling apr_global_mutex_create() or apr_shm_create()
in the parent and in the child with the same filename does not hurt, the mutex is shared.
  
   * Example from http://www.codemass.com/mod_shm_counter/
  

Mime
View raw message