Subject: Re: [linux-audio-dev] MidiShare Linux
From: Andrew Morton (andrewm_AT_uow.edu.au)
Date: Wed Jul 26 2000 - 05:46:47 EEST
Paul Barton-Davis wrote:
>
> Note that I have a more efficient implementation of a lock-free FIFO
> for use where the characteristics of a ringbuffer are not desired
> (i.e. you really are always just pushing and popping elements from the
> FIFO). The ringbuffer implementation allows it to be used to store
> streaming data efficiently, but is not so quick for simple push/pop
> operations.
Is this implementation available somewhere? I'd expect it to be
applicable to the networking code...
Also, could someone tell me if the atomic compare-and-exchange operation
is available and efficient on all platforms which Linux supports?
Thanks.
This archive was generated by hypermail 2b28 : Wed Jul 26 2000 - 06:26:10 EEST