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: That's wrong (on Win32) ------------------------------------------------------------------------------ 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. It's wrong. 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() 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/
