50 int max_recycled_pools);
100 #define ap_queue_pop_socket(q_, s_, p_) \
101 ap_queue_pop_something((q_), (s_), NULL, (p_), NULL)
Apache Multi-Processing Module library.
APR Platform Definitions.
APR Condition Variable Routines.
APR Thread Mutex Routines.
void() ap_mpm_callback_fn_t(void *baton)
Definition: ap_mpm.h:202
apr_status_t ap_queue_pop_something(fd_queue_t *queue, apr_socket_t **sd, void **sd_baton, apr_pool_t **p, timer_event_t **te)
struct fd_queue_elem_t fd_queue_elem_t
Definition: mpm_fdqueue.h:46
void ap_queue_info_free_idle_pools(fd_queue_info_t *queue_info)
apr_status_t ap_queue_info_try_get_idler(fd_queue_info_t *queue_info)
void ap_queue_info_pop_pool(fd_queue_info_t *queue_info, apr_pool_t **recycled_pool)
apr_status_t ap_queue_info_create(fd_queue_info_t **queue_info, apr_pool_t *pool, int max_idlers, int max_recycled_pools)
apr_status_t ap_queue_info_wait_for_idler(fd_queue_info_t *queue_info, int *had_to_block)
apr_status_t ap_queue_interrupt_all(fd_queue_t *queue)
apr_status_t ap_queue_push_timer(fd_queue_t *queue, timer_event_t *te)
apr_status_t ap_queue_info_set_idle(fd_queue_info_t *queue_info, apr_pool_t *pool_to_recycle)
apr_status_t ap_queue_create(fd_queue_t **pqueue, int capacity, apr_pool_t *p)
void ap_queue_info_push_pool(fd_queue_info_t *queue_info, apr_pool_t *pool_to_recycle)
apr_status_t ap_queue_info_term(fd_queue_info_t *queue_info)
apr_status_t ap_queue_term(fd_queue_t *queue)
apr_uint32_t ap_queue_info_num_idlers(fd_queue_info_t *queue_info)
struct fd_queue_info_t fd_queue_info_t
Definition: mpm_fdqueue.h:45
apr_status_t ap_queue_interrupt_one(fd_queue_t *queue)
apr_status_t ap_queue_push_socket(fd_queue_t *queue, apr_socket_t *sd, void *sd_baton, apr_pool_t *p)
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
apr_int64_t apr_time_t
Definition: apr_time.h:45
#define AP_DECLARE(x)
Definition: macros.h:1
Definition: apr_arch_networkio.h:37
Definition: apr_arch_thread_cond.h:34
Definition: apr_arch_thread_mutex.h:28
Definition: mpm_fdqueue.h:77
unsigned int nelts
Definition: mpm_fdqueue.h:80
unsigned int in
Definition: mpm_fdqueue.h:82
volatile int terminated
Definition: mpm_fdqueue.h:86
unsigned int bounds
Definition: mpm_fdqueue.h:81
apr_thread_cond_t * not_empty
Definition: mpm_fdqueue.h:85
APR_RING_HEAD(timers_t, timer_event_t) timers
apr_thread_mutex_t * one_big_mutex
Definition: mpm_fdqueue.h:84
unsigned int out
Definition: mpm_fdqueue.h:83
fd_queue_elem_t * data
Definition: mpm_fdqueue.h:79
Definition: mpm_fdqueue.h:66
ap_mpm_callback_fn_t * cbfunc
Definition: mpm_fdqueue.h:69
apr_time_t when
Definition: mpm_fdqueue.h:68
APR_RING_ENTRY(timer_event_t) link
void * baton
Definition: mpm_fdqueue.h:70
apr_array_header_t * pfds
Definition: mpm_fdqueue.h:72
int canceled
Definition: mpm_fdqueue.h:71