06-Operating Systems

Deadlock(Prevention, Avoidance, Detection, Recovery)

Deadlock

  • A situation where a set of processes are blocked because each process is holding a resource and waiting for another resource acquired by some other process.
  • This block situation is called Deadlock(DL)
  • DL is a bug present in the process/thread synchronization method
  • In DL, processes never finish executing, and the system resources are tied up, preventing other jobs from starting.
[Read More]