Function pcqueue_capacity
Defined in File pcqueue.h
Function Documentation
-
static inline size_t pcqueue_capacity(const struct pcqueue *const queue)
Get the capacity of the queue. The value returned can be relied upon in a multi-thread context, because it does not change during the lifetime of the queue.
- Parameters:
queue – The queue handle.
- Returns:
Queue capacity, or 0 on ERROR.