Hi, I’m interessed in knowing how multiple threads suspended on a mutex are managed. In particular if two threads (i.a. thread A and thread B) are wating for a mutex acquired by thread C, when thread C release the mutex, which policy is adopted for the blocked thread? A FIFO policy or a priority based policy? Thanks for your answer.
Tasks are unblocked first in order of priority, highest first, and then in order of when they blocked on the object, longest first (FIFO) if they have the same priority.
thank you very much for your fast and accurate reply