std1.0.0-beta-7 SafeC docs

Module collections::ringbuffer

#include <std/collections/ringbuffer.h> source

Lock-Free Ring Buffer (real-time audio / DSP safe) Single-producer / single-consumer; power-of-two capacity; no dynamic allocation. Uses atomic load/store for head and tail to guarantee correct ordering. Freestanding-safe.

Structs

RingBuffer

Macros

RING_DEFAULT_CAPbytes; override before including if needed
RING_STATIC