Module jack::ringbuffer [] [src]

Create and manage JACK ring buffers.

Structs

RingBuffer

A lock-free ringbuffer. The key attribute of a ringbuffer is that it can be safely accessed by two threads simultaneously, one reading from the buffer and the other writing to it - without using any synchronization or mutual exclusion primitives. For this to work correctly, there can only be a single reader and a single writer thread. Their identities cannot be interchanged.

RingBufferReader

Read end of the ring buffer. Can only be used from one thread (can be different from the write thread).

RingBufferWriter

Write end of the ring buffer. Can only be used from one thread (can be a different from the read thread).