GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rwheng/BankersAlgorithm: :vertical_traffic_light: Dijkstra's famous algorithm

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
BankersAlgorithm.c
BankersAlgorithm.c
 
 
BankersAlgorithm.java
BankersAlgorithm.java
 
 
BankersAlgorithm.py
BankersAlgorithm.py
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Banker's Algorithm :shipit:💻

The Banker's algorithm is a resource allocation and deadlock avoidance algorithm developed by Edsger W. Dijkstra that tests for safety by simulating the allocation of predetermined maximum possible amounts of all resources, and then makes an "s-state" safe state check to test for possible deadlock conditions for all other pending activities, before deciding whether allocation should be allowed to continue.

Okay, but how this thing works? 😐❓

When a new process enters a system, it must declare the maximum number of instances of each resource type that it may ever claim; clearly, that number may not exceed the total number of resources in the system. Also, when a process gets all its requested resources it must return them in a finite amount of time.

About

🚦 Dijkstra's famous algorithm

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.