Question: A system has four processes, P1 through P4, and three types of resources, R1 (3 units), R2 (2 units) and R3 (2 units). Process P1

A system has four processes, P1 through P4, and three types of resources, R1 (3 units), R2 (2 units) and R3 (2 units).

  • Process P1 holds one unit of R1 and requests one R2.
  • Process P2 holds two units of R2 and requests one unit of each of R1 and R3.
  • P3 holds 1 unit of R1 and request 1 unit of R2.
  • P4 holds 2 units of R3 and requests 1 unit of R1.

Draw the resource allocation graph for this system and apply the deadlock detection algorithm to show whether there is a deadlock or not. Clearly show the applied steps.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!