the apr private data (apr_thread_t*) and the application private data
(void*), for the last update to APR.
Submitted by: Aaron Bannert <aaron@ebuilt.com>
Reviewed by: Will Rowe
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89672
13f79535-47bb-0310-9956-
ffa450edef68
}
}
-static void *worker_thread(void *);
+static void *worker_thread(apr_thread_t *, void *);
/* Starts a thread as long as we're below max_threads */
static int start_thread(void)
/* idle_thread_count should be incremented before starting a worker_thread */
-static void *worker_thread(void *arg)
+static void *worker_thread(apr_thread_t *thd, void *arg)
{
apr_socket_t *csd = NULL;
apr_pool_t *tpool; /* Pool for this thread */
}
}
-static void *worker_thread(void *);
+static void *worker_thread(apr_thread_t *, void *);
/* Starts a thread as long as we're below max_threads */
static int start_thread(void)
/* idle_thread_count should be incremented before starting a worker_thread */
-static void *worker_thread(void *arg)
+static void *worker_thread(apr_thread_t *thd, void *arg)
{
apr_socket_t *csd = NULL;
apr_pool_t *tpool; /* Pool for this thread */
apr_lock_release(pipe_of_death_mutex);
}
-static void * worker_thread(void * dummy)
+static void * worker_thread(apr_thread_t *thd, void * dummy)
{
proc_info * ti = dummy;
int process_slot = ti->pid;
return 0;
}
-static void *start_threads(void * dummy)
+static void *start_threads(apr_thread_t *thd, void * dummy)
{
thread_starter *ts = dummy;
apr_thread_t **threads = ts->threads;