From 33f371102e58852b9eb019a45506ac60f69fd36d Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Fri, 5 Dec 2008 08:47:36 +0000 Subject: [PATCH] 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 --- modules/cluster/mod_heartbeat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1