Q16
MCQ1 mark, −0.33Operating systemsMediumThree concurrent processes , , and execute three different code segments that access and update certain shared variables. Process executes the operation (i.e., ) on semaphores , and ; process executes the operation on semaphores , and ; process executes the operation on semaphores , , and before entering the respective code segments. After completing the execution of its code segment, each process invokes the operation (i.e., ) on its three semaphores. All semaphores are binary semaphores initialized to one. Which one of the following represents a deadlock-free order of invoking the operations by the processes?
Keys: A–D or 1–4 choose, Enter checks, ← → move between questions.
Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.