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

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?

Step by Step Solution

3.43 Rating (156 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Reduce by p 4 then by p 2 and then by p 1 and p 3 in either order Th... 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 (484).docx

120 KBs Word File

Students Have Also Explored These Related Computer Engineering Questions!