You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2008/12/07 07:11:42 UTC

svn commit: r724090 - in /httpd/httpd/trunk/modules/cluster: mod_heartbeat.c mod_heartmonitor.c

Author: pquerna
Date: Sat Dec  6 22:11:42 2008
New Revision: 724090

URL: http://svn.apache.org/viewvc?rev=724090&view=rev
Log:
Use APR_THREAD_FUNC for heart{beat,monitor} thread workers.
Suggested by: Takashi Sato <takashi lans-tv.com>

Modified:
    httpd/httpd/trunk/modules/cluster/mod_heartbeat.c
    httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c

Modified: httpd/httpd/trunk/modules/cluster/mod_heartbeat.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartbeat.c?rev=724090&r1=724089&r2=724090&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartbeat.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartbeat.c Sat Dec  6 22:11:42 2008
@@ -118,7 +118,7 @@
 #define apr_time_from_msec(x) (x * 1000)
 #endif
 
-static void *hb_worker(apr_thread_t *thd, void *data)
+static void* APR_THREAD_FUNC hb_worker(apr_thread_t *thd, void *data)
 {
     hb_ctx_t *ctx = (hb_ctx_t *) data;
     apr_status_t rv;

Modified: httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c?rev=724090&r1=724089&r2=724090&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c Sat Dec  6 22:11:42 2008
@@ -287,7 +287,7 @@
 #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;