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

Discussion

Priority inheritance prevents unbounded inversion by

  • A.raising the lock holder to the priority of the waiting task
  • B.lowering the waiting task to the priority of the lock holder
  • C.forbidding any task to hold more than one lock
  • D.releasing the lock automatically after a fixed timeout

Answer: A

The low priority holder runs at the high priority until it releases, so no medium priority task can preempt it and the wait is bounded by the critical section. The holder returns to its own priority the moment it releases.

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

Post your comment

Please log in or register to post a comment.