logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ck_ring_size — return number of pointers enqueued in bounded FIFO

Description

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

Library

       Concurrency Kit (libck, -lck)

Name

       ck_ring_size — return number of pointers enqueued in bounded FIFO

See Also

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 http://concurrencykit.org/

                                                 April 20, 2013                                  CK_RING_SIZE(3)

Synopsis

#include<ck_ring.h>unsignedintck_ring_size(ck_ring_t*ring);

See Also