FW: sem issues part 500
rpm at xenomai.org
Thu Jun 2 09:14:58 CEST 2005
Steven Seeger wrote:
> 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.
More information about the Rtai