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.
For more information, please refer to my note at HackMD.
Circular Buffer implementation with mmap(2) *incomplete*
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.
For more information, please refer to my note at HackMD.
Circular Buffer implementation with mmap(2) *incomplete*
BSD 2-Clause "Simplified" License