[LAD] Atomic Operations

Gabriel M. Beddingfield gabriel at teuton.org
Tue Dec 15 14:24:27 UTC 2009



On Tue, 15 Dec 2009, Paul Davis wrote:

> i should perhaps note that there tends to be less use of generic lock
> free data structures because of the absence of nice libraries. maybe
> effo can be a useful addition there. its not as if its the first one,
> however.

Also worth mentioning... for C++ fans out there...

The ringbuffer shipped with libjack is a C port of the 
RingBuffer<T> container from libpbd in Ardour (written by 
Paul Davis and Benno Senoner).

This implementation uses the glib atomic ops and some glib 
types.  Since my app doesn't currently use glib, I was 
looking at replacing those with some equivalent.  That's 
partially how this thread got started. :-)

Peace,
Gabriel



More information about the Linux-audio-dev mailing list