Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2019
Questions

Q39

MCQ2 marks, −0.67Operating systems

Consider the following snapshot of a system running nn concurrent processes. Process ii is holding XiX_i instances of a resource RR, 1≤i≤n1 \leq i \leq n. Assume that all instances of RR are currently in use. Further, for all ii, process ii can place a request for at most YiY_i additional instances of RR while holding the XiX_i instances it already has. Of the nn processes, there are exactly two processes pp and qq such that Yp=Yq=0Y_p = Y_q =0. Which one of the following conditions guarantees that no other process apart from pp and qq can complete execution?

Sign in to save attempts.

Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.