Question
chap7 1-Discuss in which practical cases the condition of nonpreemption would not hold. Give an example. 2- Explain and give examples of why deadlock may
chap7
1-Discuss in which practical cases the condition of nonpreemption would not hold. Give an example.
2- Explain and give examples of why deadlock may be considered worse than starvation. Is deadlock a form of starvation? Give examples.
9- A system has four resources types with (5, 3, 5, 3) and five processes with a maximum resource claim: Pl with (2, 2, 1, 1), P2 with (1, 2, 1, 2), P3 with (1, 1, 2, 1), P4 with (3, 1, 2, 0), and P5 with (2, 1, 1, 0). The resource allocations are Pl with (1, 1, 0, 0), P2 with (0, 1, 1, 0), P3 with (1, 0, 1, 1), P4 with (2, 1, 2, 0), and P5 with (1, 0, 1, 0). Is this system in a safe state? Give good arguments.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started