Re: [LAD] a *simple* ring buffer, comments pls?

From: Olivier Guilyardi <list@email-addr-hidden>
Date: Tue Jul 12 2011 - 02:06:34 EEST

On 07/12/2011 12:06 AM, Fons Adriaensen wrote:

> OTOH, if you have a number of threads at the same priority
> as Jack's and doing audio work (e.g. to use all the CPUs of
> an SMP machine) then using locks between them (but no other
> threads) should be OK - depending a bit on how they are used.

So, you can use locks as long as that's only meant to synchronize realtime
threads with each other? Should some master thread (could be the JACK process
thread) have a realtime priority slightly higher than the other (worker)
realtime threads? What are the caveats in general?

--
  Olivier
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Tue Jul 12 04:15:04 2011

This archive was generated by hypermail 2.1.8 : Tue Jul 12 2011 - 04:15:04 EEST