Expand description
Structs§
- Ring
capacityslots ofslot_sizebytes after the header.
Constants§
- HEADER
- filib’s
ring::HEADER. - MAX_
CAPACITY - filib’s
ring::MAX_CAPACITY, the same for every ring: the indices areu32and run mod 2N, so 2N fits au32. A ring holds at most what fits in its region, ⌊(size −HEADER) / sizeof(T)⌋, capped at this.
Functions§
- bytes
- A value’s bytes, as the C backend lays it out.
- rings
- Every channel’s ring,
Noneif unbuffered, and a warning for each ring that leaves part of its region unused because what fits is more thanMAX_CAPACITY.