Question: An operating system uses a deadlock avoiding resource management system. There are currently three processes running, using two different types of resources. There are 6
An operating system uses a deadlock avoiding resource management system. There are currently three processes running, using two different types of resources. There are 6 instances of each resource total in the system. The Claim matrix shows how many of each resource the processes expect to need at most. The Allocation matrix shows how many each process is currently holding.

a) Show that the current state is a safe state.
b) What happens if process p2 requests another instance of resource R2?
Claim matrix R1 R2 P1 64 P25 P3 4 3 Allocation matrix: R1 R2 P1 21 P20 1 P3 42 Total number of available resources: R1 R2 6 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
