You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2008/12/05 09:47:36 UTC
svn commit: r723660 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c
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;