[linux-audio-dev] realtimeness: pthread_cond_signal vs. pipe write

Lee Revell rlrevell at joe-job.com
Mon Jun 19 16:48:27 EDT 2006

On Mon, 2006-06-19 at 23:11 +0200, Stefan Westerfeld wrote:
> The spin_lock(&bh->lock) is the one I was referring to in my earlier
> mail. 

Taking a spinlock should be realtime safe - they are not supposed to be
held for long and cannot sleep.  Worst case scenario should be that you
spin for a few hundred microseconds.  It's a bug if a spinlock is held
for much longer or is heavily contended.


More information about the linux-audio-dev mailing list