- Block based ring buffer, fixed max block size when init
- No lock, one producer (write), one consumer (read)
- Empty: write index == read index
- Full: write index + 1 == read index
- each read/write never across block boundary
$ mkdir build && cd build
For generic Linux,
$ cmake ..
To support Xenomai cobalt,
$ cmake .. -DWITH_COBALT=ON
$ make
$ sudo make install
The library and header file will be put to the path /usr/local/.
