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 S2 while it requests two units of C2.
c. P3 holds one unit o S2 and requests one unit of C1.
d. P4 produces C2 and requests one init each of C1 and 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
P2 and P4 are deadlocked but reduction of P3 then P1 is possible H... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
34-E-CE-OS (486).docx
120 KBs Word File
