Given the following system: 3 processes (P1, P2, P3), 5 resources types (A, B, C, D). A and C each has only one instance
Posted: Mon Jun 06, 2022 4:51 pm
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