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.
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.