Question: THE BANKER'S ALGORITHM FOR A SINGLE RESOURCE It is modeled on the way a small - town banker might deal with a group of customers
THE BANKER'S ALGORITHM FOR A SINGLE RESOURCE
It is modeled on the way a smalltown banker might deal with a group of customers to whom he has granted lines of credit. What the algorithm does is check to see if granting the request leads to an unsafe state. If it does, the request is denied. If granting the request leads to a safe state, it is carried out. In Fig. a we see four customers. and each of whom has been granted a censain number of credit units. The banker knows that not all customers will need their maximum credit immediately, so he has reserved only units rather than to service them. In this analogy, customers are processes, units are, say, tape drives, and the banker is the operating system.
tableHas MaxABCD
Free:
tableHas,Max
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
