SPSC_Queue
SPSC_Queue copied to clipboard
[SPSCQueue] limit the idx value
When the reader/writed index pointer is increased, limit the value to the maximum queue size making a queue circular.
Signed-off-by: Pavel Nadein [email protected]