FW: sem issues part 500

Philippe Gerum rpm at xenomai.org
Thu Jun 2 09:14:58 CEST 2005


Steven Seeger wrote:

<snip>

> 
>         This is not how a PIP, as you call it, should work. The
>         priorities should “unwind” as resources are released. Each task
>         will have to have a way of easily knowing what semaphores it
>         owns (like semaphores know what tasks own them) and then when
>         rt_sem_signal is called, that task’s priority adjusted accordingly.
> 

If the priority of your task never changes, maybe that what you need 
actually is priority ceiling, so that it can hold multiple resources 
concurently without risking deadlocks.

-- 

Philippe.




More information about the Rtai mailing list