19 #ifndef APU_THREAD_POOL_H
20 #define APU_THREAD_POOL_H
23 #include "apr_thread_proc.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
78 apr_size_t init_threads,
79 apr_size_t max_threads,
98 apr_thread_start_t func,
112 apr_thread_start_t func,
114 apr_interval_time_t time,
127 apr_thread_start_t func,
194 APU_DECLARE(apr_size_t)
202 APU_DECLARE(apr_size_t)
210 APU_DECLARE(apr_size_t)
218 APU_DECLARE(apr_size_t)
247 APU_DECLARE(apr_interval_time_t)
249 apr_interval_time_t timeout);
257 APU_DECLARE(apr_interval_time_t)
apr_size_t apr_thread_pool_idle_max_get(apr_thread_pool_t *me)
apr_status_t apr_thread_pool_task_owner_get(apr_thread_t *thd, void **owner)
struct apr_thread_pool apr_thread_pool_t
Definition: apr_thread_pool.h:58
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_threads_high_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_size_t apr_thread_pool_threshold_set(apr_thread_pool_t *me, apr_size_t val)
apr_size_t apr_thread_pool_tasks_run_count(apr_thread_pool_t *me)
apr_size_t apr_thread_pool_tasks_count(apr_thread_pool_t *me)
apr_status_t apr_thread_pool_destroy(apr_thread_pool_t *me)
apr_size_t apr_thread_pool_idle_count(apr_thread_pool_t *me)
apr_size_t apr_thread_pool_scheduled_tasks_count(apr_thread_pool_t *me)
apr_status_t apr_thread_pool_tasks_cancel(apr_thread_pool_t *me, void *owner)
apr_size_t apr_thread_pool_threshold_get(apr_thread_pool_t *me)
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_threads_count(apr_thread_pool_t *me)
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_thread_max_set(apr_thread_pool_t *me, apr_size_t cnt)
apr_size_t apr_thread_pool_idle_max_set(apr_thread_pool_t *me, apr_size_t cnt)
apr_size_t apr_thread_pool_threads_idle_timeout_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_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_tasks_high_count(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_busy_count(apr_thread_pool_t *me)