From: Paul Querna Date: Fri, 5 Dec 2008 09:06:06 +0000 (+0000) Subject: Make hm_ctx_t:keep_running a volatile. X-Git-Tag: 2.3.0~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88c3dd9d661232ec14b77a10290e4c48d3c568b4;p=apache 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 --- 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;