ck_ring_capacity(3)

ck_ring_capacity3

Returns number of pointer slots in bounded fifo

Usage

#include <ck_ring.h>

unsigned int

ck_ring_capacity(ck_ring_t *ring);

Library

Concurrency Kit (libck, -lck)

Overview

The ck_ring_capacity(3) function returns the number of pointers that can be held in the buffer pointed to by ring. Note that a ring can only hold ck_ring_capacity(3) minus one entries at a time.

Releases

5 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9–13

From libck-dev 0.7.2-6 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.