libqb
2.0.0
|
This implements a ring buffer that works in "chunks", not bytes.
So you write/read a complete chunk or not at all. There are two types of ring buffer: normal and overwrite. Overwrite will reclaim the oldest chunks inorder to make way for new ones, the normal version will refuse to write a new chunk if the ring buffer is full.
This implementation is capable of working across processes, but one process must only write and the other process read.
The read process will do the following:
The write process will do the following: