Deadlock Simulator

Interactive visualization of Banker's Algorithm and Resource Allocation Graph

Configuration

Allocation (A)

P / RR0R1R2
P0
P1
P2

Max (M)

P / RR0R1R2
P0
P1
P2

Available (V)

ResourceCount
R0
R1
R2

Algorithm Result

Click "Run Algorithm" to execute Banker's Algorithm

Resource Allocation Graph

Solid blue: Allocation
Dashed orange: Request
Red process: Deadlocked

Run the algorithm first to see step-by-step execution

Advanced Features

Load Presets

Import/Export

ℹ️ About Banker's Algorithm

  • Detects unsafe states and deadlock scenarios
  • Ensures system proceeds only to safe states
  • Prevents circular wait conditions

© 2024 Deadlock Simulator — Educational Tool for OS Concepts