Typedefs | |
typedef apr_queue_t | apr_queue_t |
Functions | |
apr_status_t | apr_queue_create (apr_queue_t **queue, unsigned int queue_capacity, apr_pool_t *a) |
apr_status_t | apr_queue_push (apr_queue_t *queue, void *data) |
apr_status_t | apr_queue_pop (apr_queue_t *queue, void **data) |
apr_status_t | apr_queue_trypush (apr_queue_t *queue, void *data) |
apr_status_t | apr_queue_trypop (apr_queue_t *queue, void **data) |
unsigned int | apr_queue_size (apr_queue_t *queue) |
apr_status_t | apr_queue_interrupt_all (apr_queue_t *queue) |
apr_status_t | apr_queue_term (apr_queue_t *queue) |
|
opaque structure |
|
create a FIFO queue
|
|
interrupt all the threads blocking on this queue.
|
|
pop/get an object from the queue, blocking if the queue is already empty
|
|
push/add a object to the queue, blocking if the queue is already full
|
|
returns the size of the queue.
|
|
terminate all queue, sendinging a interupt to all the blocking threads
|
|
pop/get an object to the queue, returning immediatly if the queue is empty
|
|
push/add a object to the queue, returning immediatly if the queue is full
|