]> granicus.if.org Git - apache/commitdiff
Make hm_ctx_t:keep_running a volatile.
authorPaul Querna <pquerna@apache.org>
Fri, 5 Dec 2008 09:06:06 +0000 (09:06 +0000)
committerPaul Querna <pquerna@apache.org>
Fri, 5 Dec 2008 09:06:06 +0000 (09:06 +0000)
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

index e98b505ec3e422dc8ead91f4774f8d00f5760bd0..876141dca6301d0a8d73f8014035bd85adacd42c 100644 (file)
@@ -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;