A System Is Composed Of Four Process P1 P2 P3

A system is composed of four process, {P1, P2, P3, P4}, and three types of consumable resources, {R1, R2, R3}. There is one unit each of R1 and R3 available.

a. P1 request one unit of R1 and one unit of R3.

b. P2 produces R1 and R3 and requests one unit of R2.

c. P3 requests one unit each of R1 and R3.

d. P4 produces R2 and requests one unit of R3.

Show the consumable resource graph to represent this system state. Which, if any, of the processes are deadlocked in this state?

Posted in Uncategorized