From 88c3dd9d661232ec14b77a10290e4c48d3c568b4 Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Fri, 5 Dec 2008 09:06:06 +0000 Subject: [PATCH] Make hm_ctx_t:keep_running a volatile. Suggested by: Ruediger Pluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@723669 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cluster/mod_heartmonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c index e98b505ec3..876141dca6 100644 --- a/modules/cluster/mod_heartmonitor.c +++ b/modules/cluster/mod_heartmonitor.c @@ -40,7 +40,7 @@ typedef struct hm_ctx_t 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; -- 2.40.0