include/apr_queue.h File Reference

Thread Safe FIFO bounded queue. More...

#include "apu.h"
#include "apr_errno.h"
#include "apr_pools.h"

Go to the source code of this file.


typedef apr_queue_t apr_queue_t


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)

Detailed Description

Thread Safe FIFO bounded queue.

Since most implementations of the queue are backed by a condition variable implementation, it isn't available on systems without threads. Although condition variables are some times available without threads.

Generated on Tue Sep 11 08:13:14 2007 for Apache Portable Runtime Utility Library by  doxygen 1.5.2