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.

image.png

Which one of the following statements is TRUE if all three processes run concurrently starting at time t = 0?

  1. A.

    All processes will finish without any deadlock

  2. B.

    Only P1 and P2 will be in deadlock

  3. C.

    Only P1 and P3 will be in deadlock

  4. D.

    All three processes will be in deadlock

Attempted by 91 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…