Machine-translated by Google. Questions are authored in English.
Top

Discussion

Unbounded priority inversion arises when

  • A.the high priority task holds two locks at once
  • B.the low priority task has a longer period than the high priority one
  • C.the scheduler uses dynamic rather than fixed priorities
  • D.a medium priority task preempts the low priority lock holder

Answer: D

Without the medium task the wait is merely the length of the critical section; with it the wait extends for as long as the medium task cares to run. Bounding it is precisely what the inheritance and ceiling protocols achieve.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.