[linux-audio-dev] Lock Free Ringbuffer in C ?

David Olofson david at olofson.net
Fri Apr 4 05:58:00 UTC 2003


On Thursday 03 April 2003 15.36, torbenh at gmx.de wrote:
> i remember i have read a statement about a lock free ringbuffer
> implemented in C somewhere.
>
> Can anybody remeber it ?

Here's one in C; the 'sfifo':

	http://olofson.net/mixed.html


I've been using it in various environments for a few years, but that 
doesn't guarantee anything. ;-)


//David Olofson - Programmer, Composer, Open Source Advocate

.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`-----------------------------------> http://audiality.org -'
   --- http://olofson.net --- http://www.reologica.se ---




More information about the Linux-audio-dev mailing list