Skip to content

SophyMatar/Bankers-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Bankers Algorithm

Banker’s Algorithm for deadlock avoidance.

A system with five processes P0 through P4 and three resources of type A, B, C. Resource type A has 10 instances, B has 5 instances and type C has 7 instances.

Implement the Banker’s algorithm to answer the following question:

Is the system in a safe state? Yes

Then what is the safe sequence? P1 -> P3 -> P4 -> P0 -> P2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages