A system is composed of four processes, { P 1 , P 2 , P 3 ,

Question:

A system is composed of four processes, {P1, P2, P3, P4}, two types of serially reusable resources, {S1, S2}, and two types of consumable resources, {C1, C2}. S1 has two units and S2 has three units. C1 and C2 each have one available unit.

a. P1 produces C1 and is requesting two units of S2.

b. P2 holds two units of S1 and one unit of Swhile it requests two units of C2.

c. P3 holds one unit o S2 and requests one unit of C1.

d. Pproduces C2 and requests one init each of Cand S1.

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

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: