httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r723675 - /httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
Date Fri, 05 Dec 2008 09:14:14 GMT
Author: pquerna
Date: Fri Dec  5 01:14:14 2008
New Revision: 723675

URL: http://svn.apache.org/viewvc?rev=723675&view=rev
Log:
Add a comment explaining the start mutex.

Modified:
    httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c

Modified: httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c?rev=723675&r1=723674&r2=723675&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c Fri Dec  5 01:14:14 2008
@@ -392,6 +392,9 @@
         return;
     }
 
+    /* This mutex fixes problems with a fast start/fast end, where the pool 
+     * cleanup was being invoked before the thread completely spawned. 
+     */
     apr_thread_mutex_lock(ctx->start_mtx);
 
     apr_pool_cleanup_register(p, ctx, hm_pool_cleanup, apr_pool_cleanup_null);



Mime
View raw message