AnsweredAssumed Answered

Priority inheritance mutex

Question asked by johan on Nov 11, 2009
Latest reply on Nov 12, 2009 by BrianW

I am trying to implemet a "Priority inheritance mutex" i.e. a mutex where the thread that has aquired the mutex runs at the same priority as the highest priority of all waiting threads. The purpose of these mutexes is to handle the "priority inversion" problem where a thread with high priority end up with waiting for a thread with low priority. Unfortunately was I not able to solve this on my own and would like to have some help:

- Has anyone done this and woukd like to post an example?

- Is there a way to ask VDK about the "owner" (last thread that aquired a semaphore/mutes)?