GATE | GATE CS 1996 | Question 70

A computer system uses the Banker’s Algorithm to deal with deadlocks. Its current state is shown in the table below, where P0, P1, P2 are processes, and R0, R1, R2 are resources types.
alloc_tab

 

 

 

 

a) Show that the system can be in this state.
b) What will the system do on a request by process P0 for one unit of resource type R1?


Answer:

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.