CK_RING_SIZE(3) Library Functions Manual CK_RING_SIZE(3)

ck_ring_sizereturn number of pointers enqueued in bounded FIFO

Concurrency Kit (libck, -lck)

#include <ck_ring.h>

unsigned int
ck_ring_size(ck_ring_t *ring);

The (3) function returns the number of pointers currently enqueued in the buffer pointed to by ring.

ck_ring_init(3), ck_ring_enqueue_spmc(3), ck_ring_dequeue_spmc(3), ck_ring_trydequeue_spmc(3), ck_ring_enqueue_spmc_size(3), ck_ring_dequeue_spsc(3), ck_ring_enqueue_spsc(3), ck_ring_enqueue_spsc_size(3), ck_ring_capacity(3)

Additional information available at

April 20, 2013