Skip to content

asishadhikari/advos-bankers-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Banking Algorithm implementation

For n Customers and m resources, this program determines whether any request from a customer leads the system into an unsafe or a safe state. This is a deadlock prevention algorithm that can be used for any application where deadlock handling must be done by the programmer.


To compile:

  • make to compile
  • make clean for cleanup

To run:

  • run as ./bank 12 32 42 where the CL arguments represent the available instance of each (physical/logical) resource class in the system.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published