From: Paul Querna Date: Fri, 5 Dec 2008 08:47:36 +0000 (+0000) Subject: Make hb_ctx_t:keep_running volatile. X-Git-Tag: 2.3.0~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33f371102e58852b9eb019a45506ac60f69fd36d;p=apache Make hb_ctx_t:keep_running volatile. Suggested by: Ruediger Pluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@723660 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cluster/mod_heartbeat.c b/modules/cluster/mod_heartbeat.c index e458e75e2c..4457a97b62 100644 --- a/modules/cluster/mod_heartbeat.c +++ b/modules/cluster/mod_heartbeat.c @@ -35,7 +35,7 @@ typedef struct hb_ctx_t 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;