cbuffer icon indicating copy to clipboard operation
cbuffer copied to clipboard

A circular buffer written in C using Posix calls to create a contiguously mapped memory space. BSD Licensed.

Results 4 cbuffer issues
Sort by recently updated
recently updated
newest added

me->head in cbuf_poll() needs to be wrapped

In the original code, `me->tail` is updated through a sum and then a modulo operation. This creates a race condition if another thread reads the value of `tail` at the...

Hi there Willem, I was taking a look at your repo on github and have been looking to do something similar in python.  However, I cannot seem to figure out...

update a test case to show the usage