Consider a system with 4 types of resources R1(3 units), R2(2 units), R3(3…

PYQ GATE 2009

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 135 students.

Sign up free to check your answer

Sign up free

Explore the full course: Operating System

Loading lesson…