ck_ring_init (3) - Linux Man Pages

ck_ring_init: initialize bounded FIFO

NAME

ck_ring_init - initialize bounded FIFO

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_ring.h Ft void Fn ck_ring_init ck_ring_t *ring unsigned int size

DESCRIPTION

The Fn ck_ring_init function initializes a bounded FIFO buffer pointed to by Fa ring for the storage of up to Fa size number of pointers. The Fa size argument must be a power-of-two greater than or equal to 4.

RETURN VALUES

This function has no return value.

SEE ALSO

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

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