A System Is Composed Of Four Processes P1 P2 P3

A system is composed of four processes, {P1, P2, P3, P4}, and three types of serially reusable resources, {R1, R2, R3}. The number of units of the resources are C = <3, 2, 2>.

a. Process P1 holds one unit of R1 and requests one unit of R2. 

b. P2 holds two units of R2 and requests one unit each of R1 and R3.

c. P3 holds one unit of R1 and requests one unit of R2.

d. P4 holds two units of R3 and requests one unit of R1.

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

Posted in Uncategorized