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

From: Lee Revell <rlrevell@email-addr-hidden-job.com>
Date: Mon Jun 19 2006 - 23:48:27 EEST

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.

Lee
Received on Tue Jun 20 00:15:11 2006

This archive was generated by hypermail 2.1.8 : Tue Jun 20 2006 - 00:15:11 EEST