[LAD] wanted: good online reading material for RT audio/midi software design?

Paul Davis paul at linuxaudiosystems.com
Mon Mar 1 02:10:16 UTC 2010


On Sun, Feb 28, 2010 at 8:01 PM, James Morris <james at jwm-art.net> wrote:

> the pointer assignment is not atomic though is it?

there are atomic pointer swap instructions on almost all platforms,
and various "portable" wrappers for them. glib has them, jack's
atomic.h (copied from ...hmm, portaudio? maybe?) has them etc. etc.

> is the RCU implementation provided by the linux kernel of any use in
> RT/JACK stuff?

not really.

there is a user-space RCU library under development that i saw a
presentation on at the linux plumbers conference last september. it
looked quite nice.

ardour has an RCU template class (or several, actually) that it uses
and that benefits from a few assumptions that don't hold true for the
general case of RCU.



More information about the Linux-audio-dev mailing list