Consider a system consisting of 𝑘 instances of a resource 𝑅, being shared by…

PYQ GATE 2026

Consider a system consisting of 𝑘 instances of a resource 𝑅, being shared by 5 processes. Assume that each process requires a maximum of two instances of resource 𝑅 and a process can request or release only one instance at a time. Further, a process can request the second instance of the resource only after acquiring the first instance. The minimum value of 𝑘 for the system to be deadlock-free is ________. (answer in integer)

Attempted by 140 students.

Sign up free to check your answer

Sign up free

Explore the full course: Operating System

Loading lesson…