httpd-cvs mailing list archives

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

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

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=723669&r1=723668&r2=723669&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c Fri Dec  5 01:06:06 2008
@@ -40,7 +40,7 @@
     const char *mutex_path;
     apr_sockaddr_t *mcast_addr;
     int status;
-    int keep_running;
+    volatile int keep_running;
     apr_thread_mutex_t *start_mtx;
     apr_thread_t *thread;
     apr_socket_t *sock;



Mime
View raw message