Question: Consider the resource allocation graph shown in Figure 1: Figure 1 Processes and resources allocation graph a) Assume all processes makes no further requests. Is

Consider the resource allocation graph shown in Figure 1:

Figure 1 Processes and resources allocation graph a) Assume all processes makes no further requests. Is the current system state is deadlocked or not? Explain? b) If P5 requests one unit of R2 Is the resulting system state is deadlocked or not? Explain c) If P3 requests one more unit of R1 and P2 requests one unit of R4, Is the resulting system state is deadlocked or not? Explain d) Assumes that p2 holds one unit resource of R4, is the resulting system state is deadlocked or not? Explain

Consider the resource allocation graph shown in Figure 1: P2 P4 P5 Figure 1 Processes and resources allocation graph a) Assume all processes makes no further requests. Is the current system state is deadlocked or not? Explain? b) If P5 requests one unit of R2 Is the resulting system state is deadlocked or not? Explain c) If P3 requests one more unit of R1 and P2 requests one unit of R4, Is the resulting system state is deadlocked or not? Explain d) Assumes that p2 holds one unit resource of R4, is the resulting system state is deadlocked or not? Explain P2 R4 P4 P5 Figure 1 Processes and resources allocation graph Consider the resource allocation graph shown in Figure 1: P4 P5 Figure 1 Processes and resources allocation graph a) Assume all processes makes no further requests. Is the current system state is deadlocked or not? Explain? b) If P5 requests one unit of R2 Is the resulting system state is deadlocked or not? Explain c) If P3 requests one more unit of R1 and P2 requests one unit of R4, Is the resulting system state is deadlocked or not? Explain d) Assumes that p2 holds one unit resource of R4, is the resulting system state is deadlocked or not? Explain
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
