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:
http://www.codemass.com/mod_shm_counter/

------------------------------------------------------------------------------
  == 1st and next post_config calls ==
  If we want to create mutexes, shared memory... only once, we have to execute 
the post_config hook body only once, and we have to set a flag on 1st execution 
and read it on 2nd.
  
-  * Example from 
http://www.codemass.com/mod_shm_counter/downloads/mod_shm_counter.c
+  * Example from http://www.codemass.com/mod_shm_counter/
- 
  {{{
  static int shm_counter_post_config(apr_pool_t *pconf, apr_pool_t *plog,
                                     apr_pool_t *ptemp, server_rec *s)
@@ -52, +51 @@

  
  '''Currently, modules seems bugguy ''(to be verified)'':''' they take for 
granted that the post_config hook is only called in the parent process.
  
-  * Example from 
http://www.codemass.com/mod_shm_counter/downloads/mod_shm_counter.c 
+  * Example from http://www.codemass.com/mod_shm_counter/
  
  {{{
      /* If we made it this far, we can safely initialize the module */

Reply via email to