Commit ea1417ec authored by Paul Querna's avatar Paul Querna
Browse files

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
parent 8029bcef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ static int hb_monitor(hb_ctx_t *ctx, apr_pool_t *p)
#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;
+1 −1
Original line number Diff line number Diff line
@@ -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;