Re: [LAD] a *simple* ring buffer, comments pls?

From: Olivier Guilyardi <list@email-addr-hidden>
Date: Wed Jul 13 2011 - 01:00:24 EEST

On 07/12/2011 11:37 PM, Chris Cannam wrote:
> On 12 July 2011 22:32, Olivier Guilyardi <list@email-addr-hidden> wrote:
>> Thing is, of every single thing that has been said on this thread about memory
>> barriers and ringbuffers, no one can prove anything. On this thread, on others,
>> on LAD and elsewhere. For example, no one can write a test case which fails when
>> memory barriers are missing in a ringbuffer implementation.
>
> There is one in the iPad 2 example Sean posted a link to earlier in the thread:
>
> http://wanderingcoder.net/2011/04/01/arm-memory-ordering/
>
> I haven't tried it, lacking an iPad 2 or any other multicore ARM computer.

Ah right, I read that too quickly... Thing is, I'm always suspicious with
quickly crafted ringbuffers as the one on this blog post. It's never like a
mature implementation. I will try and run my little test suite on a such device.

--
  Olivier
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Wed Jul 13 04:15:02 2011

This archive was generated by hypermail 2.1.8 : Wed Jul 13 2011 - 04:15:02 EEST