Deadlocks questions

Q39

GATE CS 2019 CSDeadlocksMCQ2 marks−2/3 if wrong
Consider the following snapshot of a system running nn concurrent processes. Process ii is holding XiX_i instances of a resource R, 1≤i≤n1 \le i \le n. Assume that all instances of R are currently in use. Further, for all ii, process ii can place a request for at most YiY_i additional instances of R 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?
Show answer without attempting

Answer: A

0/10 correct0 marks

Related topics in Operating Systems