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
This commit is contained in:
Paul Querna
2008-12-05 09:06:06 +00:00
parent b23b3ec7f8
commit 88c3dd9d66

View 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;