resources, set of customers, banker  Rules  Each customer tells banker maximum number of resources  it needs. Customer borrows resources from banker.  Customer returns resources to banker.  Customer eventually pays back loan.  Banker only lends resources if the system  will be in a safe state after the loan. 21 Deadlock Avoidance 
   resources, set of customers, banker Rules  Each customer tells banker maximum number of resources it needs.  Customer borrows resources from banker.  Customer returns resources to banker.  Customer eventually pays back loan. Banker only lends resources if the system will be in a safe state after the loan. 21 Deadlock Avoidance 
dead%20lock.docx