1CK_RING_SIZE(3)          BSD Library Functions Manual          CK_RING_SIZE(3)
2

NAME

4     ck_ring_size — return number of pointers enqueued in bounded FIFO
5

LIBRARY

7     Concurrency Kit (libck, -lck)
8

SYNOPSIS

10     #include <ck_ring.h>
11
12     unsigned int
13     ck_ring_size(ck_ring_t *ring);
14

DESCRIPTION

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

SEE ALSO

20     ck_ring_init(3), ck_ring_enqueue_spmc(3), ck_ring_dequeue_spmc(3),
21     ck_ring_trydequeue_spmc(3), ck_ring_enqueue_spmc_size(3),
22     ck_ring_dequeue_spsc(3), ck_ring_enqueue_spsc(3),
23     ck_ring_enqueue_spsc_size(3), ck_ring_capacity(3)
24
25     Additional information available at http://concurrencykit.org/
26
27                                April 20, 2013
Impressum