Question: A system is composed of four processes, { P 1 , P 2 , P 3 , P 4 }, two types of serially reusable

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?

Step by Step Solution

3.34 Rating (169 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

P2 and P4 are deadlocked but reduction of P3 then P1 is possible H... View full answer

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

Document Format (1 attachment)

Word file Icon

34-E-CE-OS (486).docx

120 KBs Word File

Students Have Also Explored These Related Computer Engineering Questions!