httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r723660 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c
Date Fri, 05 Dec 2008 08:47:36 GMT
Author: pquerna
Date: Fri Dec  5 00:47:36 2008
New Revision: 723660

URL: http://svn.apache.org/viewvc?rev=723660&view=rev
Log:
Make hb_ctx_t:keep_running volatile.
Suggested by: Ruediger Pluem

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

Modified: httpd/httpd/trunk/modules/cluster/mod_heartbeat.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartbeat.c?rev=723660&r1=723659&r2=723660&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartbeat.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartbeat.c Fri Dec  5 00:47:36 2008
@@ -35,7 +35,7 @@
     int server_limit;
     int thread_limit;
     int status;
-    int keep_running;
+    volatile int keep_running;
     apr_proc_mutex_t *mutex;
     const char *mutex_path;
     apr_thread_mutex_t *start_mtx;



Mime
View raw message