A system has $3$ processes sharing $4$ resources. If each process needs a maximum of $2$ units then, deadlock
https://gateoverflow.in/55698/isro2016-47
(A) Can never occur
If the system is deadlocked, it implies that each process is holding one resource and is waiting for one more. Since there are 3 processes and 4 resources, one process must be able to obtain two resources. This process requires no more resources and therefore it will return its resources when done.
Hence,Option(A)deadlock can never occur.
64.3k questions
77.9k answers
244k comments
80.0k users