Question: Consider the following scenario and draw resource-allocation graph and the corresponding wait-for graph. Resource assigned Process waiting An instance of resource R1 is assigned to
Consider the following scenario and draw resource-allocation graph and the corresponding wait-for graph.
Resource assigned | Process waiting |
| An instance of resource R1 is assigned to process P5 | Process P1 is waiting for resource R2 |
| Another instance of resource R1 is assigned to process P1 | Process P2 is waiting for resource R1 |
| An instance of resource R2 is assigned to process P4 | Process P3 is waiting for resource R3 |
| An instance of resource R3 is assigned to process P4 | Process P3 is waiting for resource R2 |
| Another instance of resource R3 is assigned to process P2 | Process P3 is waiting for resource R2 |
| | Process P4 is waiting for resource R1 |
Step by Step Solution
3.52 Rating (155 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
635f75f091e8b_232074.pdf
180 KBs PDF File
635f75f091e8b_232074.docx
120 KBs Word File
