Skip to content

3oss2000/bankers-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Banker's Algorithm GUI

This script is a GUI implementation of the Banker's algorithm, which is used to prevent deadlocks in computer systems. It is written in Python and uses the PyQt5 library for the GUI.

Requirements

This script requires the following dependencies to be installed:

  • Python 3.x
  • PyQt5

To install PyQt5, run the following command:

pip install PyQt5

Usage

To use the script, run the following command:

python bankers_algorithm_gui.py

This will open the GUI window. Enter the number of processes, number of resources, allocated resources, maximum resources, and available resources in their respective fields, and then click the "Run Banker's Algorithm" button. The script will then run the Banker's algorithm and display the results in the output field.

main view of the app

License

This script is provided under the MIT license. You can find the full license in the LICENSE file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages