Simulators

Banker's algorithm simulator

Type the Allocation and Max tables and the Available vector. The simulator works out the Need table, then checks each process against Work one step at a time to find a safe sequence, or shows why the state is unsafe.

The simulator

Banker's algorithm simulator: how to use it

Then make a request for one process and see whether granting it keeps the system safe.

Lessons that use it

  • Deadlock (Operating Systems)When processes wait for each other forever: the four conditions, resource-allocation graphs, prevention, avoidance with the banker's algorithm, and detection and recovery.

See also