19 #ifndef APU_THREAD_POOL_H
20 #define APU_THREAD_POOL_H
60 #define APR_THREAD_TASK_PRIORITY_LOWEST 0
61 #define APR_THREAD_TASK_PRIORITY_LOW 63
62 #define APR_THREAD_TASK_PRIORITY_NORMAL 127
63 #define APR_THREAD_TASK_PRIORITY_HIGH 191
64 #define APR_THREAD_TASK_PRIORITY_HIGHEST 255
APR Thread and Process Library.
apr_size_t apr_thread_pool_idle_max_set(apr_thread_pool_t *me, apr_size_t cnt)
apr_size_t apr_thread_pool_threshold_set(apr_thread_pool_t *me, apr_size_t val)
apr_interval_time_t apr_thread_pool_idle_wait_set(apr_thread_pool_t *me, apr_interval_time_t timeout)
apr_size_t apr_thread_pool_threshold_get(apr_thread_pool_t *me)
apr_size_t apr_thread_pool_tasks_count(apr_thread_pool_t *me)
apr_size_t apr_thread_pool_tasks_high_count(apr_thread_pool_t *me)
apr_size_t apr_thread_pool_idle_max_get(apr_thread_pool_t *me)
apr_interval_time_t apr_thread_pool_idle_wait_get(apr_thread_pool_t *me)
apr_size_t apr_thread_pool_threads_count(apr_thread_pool_t *me)
apr_status_t apr_thread_pool_top(apr_thread_pool_t *me, apr_thread_start_t func, void *param, apr_byte_t priority, void *owner)
apr_status_t apr_thread_pool_create(apr_thread_pool_t **me, apr_size_t init_threads, apr_size_t max_threads, apr_pool_t *pool)
apr_size_t apr_thread_pool_thread_max_set(apr_thread_pool_t *me, apr_size_t cnt)
apr_status_t apr_thread_pool_schedule(apr_thread_pool_t *me, apr_thread_start_t func, void *param, apr_interval_time_t time, void *owner)
apr_size_t apr_thread_pool_tasks_run_count(apr_thread_pool_t *me)
apr_status_t apr_thread_pool_destroy(apr_thread_pool_t *me)
struct apr_thread_pool apr_thread_pool_t
Definition: apr_thread_pool.h:58
apr_size_t apr_thread_pool_threads_high_count(apr_thread_pool_t *me)
apr_size_t apr_thread_pool_scheduled_tasks_count(apr_thread_pool_t *me)
apr_size_t apr_thread_pool_thread_max_get(apr_thread_pool_t *me)
apr_status_t apr_thread_pool_push(apr_thread_pool_t *me, apr_thread_start_t func, void *param, apr_byte_t priority, void *owner)
apr_size_t apr_thread_pool_idle_count(apr_thread_pool_t *me)
apr_status_t apr_thread_pool_tasks_cancel(apr_thread_pool_t *me, void *owner)
apr_status_t apr_thread_pool_task_owner_get(apr_thread_t *thd, void **owner)
apr_size_t apr_thread_pool_busy_count(apr_thread_pool_t *me)
apr_size_t apr_thread_pool_threads_idle_timeout_count(apr_thread_pool_t *me)
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
void *(APR_THREAD_FUNC * apr_thread_start_t)(apr_thread_t *, void *)
Definition: apr_thread_proc.h:198
apr_int64_t apr_interval_time_t
Definition: apr_time.h:55
#define APR_DECLARE(x)
Definition: macros.h:6
Definition: apr_arch_threadproc.h:42