On Tue, Jul 12, 2011 at 2:32 PM, Olivier Guilyardi <list(a)samalyse.com> wrote:
no one can write a test case which fails when
memory barriers are missing in a ringbuffer implementation.
That's an interesting assertion. It's kind of tempting to write some
buggy circular buffers and test that assumption on common hardware.