Skip to content

The banker’s algorithm is a resource allocation and deadlock avoidance algorithm that tests for safety by simulating the allocation for predetermined maximum possible amounts of all resources, then makes an “s-state” check to test for possible activities, before deciding whether allocation should be allowed to continue.

Notifications You must be signed in to change notification settings

Zomma2/Banker-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Banker-algorithm

alt text
The banker’s algorithm is a resource allocation and deadlock avoidance algorithm that tests for safety by simulating the allocation for predetermined maximum possible amounts of all resources, then makes an “s-state” check to test for possible activities, before deciding whether allocation should be allowed to continue.

Code is built with Java

Useful Links to follow with :

  1. https://www.geeksforgeeks.org/bankers-algorithm-in-operating-system-2/
  2. https://www.youtube.com/watch?v=T4f6b2S_Oz8

About

The banker’s algorithm is a resource allocation and deadlock avoidance algorithm that tests for safety by simulating the allocation for predetermined maximum possible amounts of all resources, then makes an “s-state” check to test for possible activities, before deciding whether allocation should be allowed to continue.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages