Question: Consider the following relationship between processes and resources: [4] Process P1 is waiting for resource R3 Process P2 is waiting for resource R3 Process P3
Consider the following relationship between processes and resources: [4] Process P1 is waiting for resource R3 Process P2 is waiting for resource R3 Process P3 is waiting for resource R1 Process P3 is waiting for resource R2 Process P3 is waiting for resource R4 Process P4 is waiting for resource R1 Resource R1 is assigned to process P5 Resource R2 is assigned to process P1 Resource R3 is assigned to process P4 Resource R4 is assigned to process P2 Resource R5 is assigned to process P3 Draw resource-allocation graph and the corresponding wait-for graph with no edge crossings. Check whether the system is in safe state or not?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
