Consider a system with 4 types of resources R1(3 units), R2(2 units), R3(3…
GATE · 2009 · CS
Consider a system with 4 types of resources R1(3 units), R2(2 units), R3(3 units), R4(2 units). A non-preemptive resource allocation policy is used. At any given instance, a request is not entertained if it cannot be completely satisfied. Three processes P1, P2,P3 request the resources as follows if executed independently.

Which one of the following statements is TRUE if all three processes run concurrently starting at time t = 0?
- A.
All processes will finish without any deadlock
- B.
Only P1 and P2 will be in deadlock
- C.
Only P1 and P3 will be in deadlock
- D.
All three processes will be in deadlock
Attempted by 91 students.
Sign up free to check your answer
Sign up freeLoading lesson…