diff options
author | Paul Querna <pquerna@apache.org> | 2008-12-07 07:11:42 +0100 |
---|---|---|
committer | Paul Querna <pquerna@apache.org> | 2008-12-07 07:11:42 +0100 |
commit | d9ceaf6a9bd858ed015c1867618d97adb7fb10ee (patch) | |
tree | 5bcd9706d3f040893a494ce6528af06a8bc201fd /modules/cluster/mod_heartmonitor.c | |
parent | Remove commented out block that wouldn't even work in this context. (diff) | |
download | apache2-d9ceaf6a9bd858ed015c1867618d97adb7fb10ee.tar.xz apache2-d9ceaf6a9bd858ed015c1867618d97adb7fb10ee.zip |
Use APR_THREAD_FUNC for heart{beat,monitor} thread workers.
Suggested by: Takashi Sato <takashi lans-tv.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@724090 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cluster/mod_heartmonitor.c')
-rw-r--r-- | modules/cluster/mod_heartmonitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c index 86ed93402c..6d07d95cf3 100644 --- a/modules/cluster/mod_heartmonitor.c +++ b/modules/cluster/mod_heartmonitor.c @@ -287,7 +287,7 @@ static apr_status_t hm_recv(hm_ctx_t *ctx, apr_pool_t *p) #define apr_time_from_msec(x) (x * 1000) #endif -static void *hm_worker(apr_thread_t *thd, void *data) +static void* APR_THREAD_FUNC hm_worker(apr_thread_t *thd, void *data) { apr_time_t last; hm_ctx_t *ctx = (hm_ctx_t *) data; |