Show how priority inheritance can cause deadlock and also multiple blocking. For example, consider the following sequence
Question:
Show how priority inheritance can cause deadlock and also multiple blocking. For example, consider the following sequence (with τ1 τ2):
τ1: Lock S1; Lock S2; Unlock S2; Unlock S1
τ2: Lock S2; Lock S1; Unlock S1; Unlock S2
Here two tasks use two semaphores in a nested fashion but in reverse order.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: