Which change would NOT reduce the blocking a high priority task suffers on a shared resource?
Answer: C
Correct answer: increasing the priority of the medium priority tasks
Raising the medium tasks makes matters worse: they preempt the low priority task holding the lock and lengthen the time the high priority task waits, which is unbounded priority inversion in its classic form. The other three all shorten or eliminate the blocking.
Please log in or register to report this question.