ck_ring_size (3) - Linux Manuals

ck_ring_size: return number of pointers enqueued in bounded FIFO

NAME

ck_ring_size - return number of pointers enqueued in bounded FIFO

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_ring.h Ft unsigned int Fn ck_ring_size ck_ring_t *ring

DESCRIPTION

The Fn ck_ring_size 3 function returns the number of pointers currently enqueued in the buffer pointed to by Fa ring .

SEE ALSO

ck_ring_init3, ck_ring_enqueue_spmc3, ck_ring_dequeue_spmc3, ck_ring_trydequeue_spmc3, ck_ring_enqueue_spmc_size3, ck_ring_dequeue_spsc3, ck_ring_enqueue_spsc3, ck_ring_enqueue_spsc_size3, ck_ring_capacity3

Additional information available at http://concurrencykit.org/