Professional Documents
Culture Documents
Multiprocessing
Deadlock
● Deadlock is a situation where more than one process is blocked
because each process is holding a resource and waiting for
another resource held by some other process.
Deadlock characteristics
Deadlock recovery
Deadlock Prevention
Deadlock Avoidance
Safe state
A state is safe if the system can allocate resources to each process (up
to its maximum) in some order and still avoid a deadlock.
Banker’s algorithm
Process State
PCB