This is a circular buffer implementation using mmap to ease the logic behind the caller which needs to know if the polled item crosses the maximum size of the underlying array.
rebvivi / cirbuf Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sysprog21/cirbuf
Circular Buffer implementation with mmap(2) *incomplete*
License: BSD 2-Clause "Simplified" License