Question: A system is composed four processes, {P_1, P_2, P_3, P_4), and three types of resources, (R_1, R_2, R_3}. The number of units of the resources
A system is composed four processes, {P_1, P_2, P_3, P_4), and three types of resources, (R_1, R_2, R_3}. The number of units of the resources is (3, 2, 2). The current system state is described as follows: Process P_1 holds 1 unit of R_1 and request 1 unit of R_2 P_2 holds 2 units of R_2 and requests l unit each of R_1 and R_3. P_3 holds 1 unit of R_1 and requests 1 unit of R_2. P_4 holds 2 units of R_5 and requests 1 unit of R_1. Show the resource-allocation graph which represents this system state. Indicate which, if any, of the processes are deadlocked in this state
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
