- Given The Following System 3 Processes P1 P2 P3 5 Resources Types A B C D A And C Each Has Only One Instance 1 (39.96 KiB) Viewed 28 times
Given the following system: 3 processes (P1, P2, P3), 5 resources types (A, B, C, D). A and C each has only one instance
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Given the following system: 3 processes (P1, P2, P3), 5 resources types (A, B, C, D). A and C each has only one instance
Given the following system: 3 processes (P1, P2, P3), 5 resources types (A, B, C, D). A and C each has only one instance, while B and D each has two instances. If the following status exist: • P1 is holding an instance from both A and D, and requesting an instance from C • P2 is holding an instance from both B and C, and requesting an instance from D • P3 is holding an instance from both B and D 1. Draw the resource-allocation graph for this system 2. According to the resource allocation graph, can a deadlock occur (Yes or No)? Explain why. 3. In general, explain one way to recover from a deadlock 7 A- B I # !!! III H