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

From: Tim E. Real <termtech@email-addr-hidden>
Date: Tue Jul 12 2011 - 00:15:26 EEST

On July 11, 2011 04:50:06 pm Chris Cannam wrote:
> I know taking locks in a RT process is deeply frowned upon

Likely been answered before, but good time for me to ask:
What is the reason it is not recommended?
Is it simply because of a long time involved in acquiring the lock, or is it
 because the lock might block some other Jack thread from running?

The same reason why other things like 'malloc' or 'new' are not
 recommended either?

Thanks. Tim.
_______________________________________________
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:02 2011

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