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

index e458e75e2cd510dad03e47147fd28db8283a8997..4457a97b62d4b6e81ed40c29e8e8cb8f7b6a5c37 100644 (file)
@@ -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;