Re: [LAD] Communicating between python UI and C++ engine for real time audio?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Iain Duncan <iainduncanlists@...>
Cc: <linux-audio-dev@...>
Date: Wednesday, November 2, 2011 - 5:40 pm

On Wed, Nov 2, 2011 at 1:34 PM, Iain Duncan wrote:

> Does that sound more feasible? BTW, excuse my ignorance, but what is RCU?

Yes, that's certainly feasible. RCU = Read-Copy-Update is a software
pattern for dealing with situations where you need to update a complex
data structure while it is in use. The general approach is to make a
copy, modify the copy, and the atomically (normally) swap a pointer to
the original for a pointer to the new one. somehow you have to clean
up the old one.

you won't find this written up in any texts on programming, i think.
its in wide use in the linux kernel, and there have been attempts to
create some general purpose user space libraries that do it too. my
own sense is that almost every implementation of RCU will end up being
incredibly context (app) dependent. we use it a lot in ardour. its
quite complex.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAD] Communicating between python UI and C++ engine for..., Gabriel M. Beddingfield, (Thu Nov 3, 2:05 am)
Re: [LAD] Communicating between python UI and C++ engine for..., Vytautas Jancauskas, (Thu Nov 3, 7:49 am)
Re: [LAD] Communicating between python UI and C++ engine for..., Paul Davis, (Wed Nov 2, 5:40 pm)