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

From: Paul Davis <paul@email-addr-hidden>
Date: Mon Mar 01 2010 - 04:10:16 EET

On Sun, Feb 28, 2010 at 8:01 PM, James Morris <james@email-addr-hidden-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.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon Mar 1 04:15:04 2010

This archive was generated by hypermail 2.1.8 : Mon Mar 01 2010 - 04:15:04 EET