Re: Use of mutex in interrupt context flawed/impossible, needadvice.

From: Michal Schmidt
Date: Thu Nov 22 2007 - 11:49:52 EST


On Thu, 22 Nov 2007 17:19:44 +0100
"Leon Woestenberg" <leon.woestenberg@xxxxxxxxx> wrote:

> I forgot to mention that I would like to be prepared for, and use the
> -rt patch soon. I understand (maybe wrongly?) that semaphores are not
> real-time pre-emptible, mutexes and spinlocks are.

Semaphores are preemptible, but they don't do priority inheritance.

Michal
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/