Home / Expert Answers / Computer Science / an-operating-system-uses-the-banker-39-s-algorithm-for-deadlock-avoidance-when-m-pa402

(Solved): An operating system uses the Banker's algorithm for deadlock avoidance when m ...



An operating system uses the Bankers algorithm for deadlock avoidance when managing the allocation of three resource types \???????

An operating system uses the Banker's algorithm for deadlock avoidance when managing the allocation of three resource types , and to three processes , and P2. The table given below presents the current system state. Here, the Allocation matrix shows the current number of resources of each type allocated to each process and the Max matrix shows the maximum number of resources of each type required by each process during its execution. There are 3 units of type units of type and 2 units of type Z still available. 1. Based on that scenario, is the system in safe state? Explain you answer. Answer Consider the following independent requests for additional resources in the current state: REQ1: PO requests units of , 0 units of and 2 units of REQ2: requests 2 units of , units of and units of 2. Which request will be permitted and why?


We have an Answer from Expert

View Expert Answer

Expert Answer


:1) The system is in safe state.
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe