Question: In a system, there are 3 processes (P1, P2 and P3). There are 4 resources (R1, R2, R3 and R4). Consider the following scenario Resource

In a system, there are 3 processes (P1, P2 and P3). There are 4 resources (R1, R2, R3 and R4). Consider the following scenario

Resource Instances:

One instance of resource type R1

Two instances of resource type R2

One instance of resource type R3

Three instances of resource type R4

Process States:

Process P1 is holding an instance of resource type R2 and is waiting for an instance of resource type R1

Process P2 is holding an instance of R1 and R2, and is waiting for an instance of resource type R3

Process P3 is holding an instance of resource type R3

Draw the resource allocation graph and state whether there is deadlock in the system

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 Databases Questions!