[Solved] new RingBuffer class buggy?

Hi,
I tried to use the new RingBuffer class and found that it does not work correctly:

The push methods never return false when the reader position is at 0. The check

		if (pos == (readPosition.load () - 1))
			return false; // full

is not correct and will never return false. Is this really the intended behavior!?

Yes, you’re right, that doesn’t work. We will fix it.

Cheers
Arne

Hi Tom,
if you update the sources from GitHub, you should now have a working ring buffer class.

Thanks again for reporting this issue.

Cheers
Arne