Deadlock is a situation wherein two or more processes are unable to proceed because each is waiting for one of the others to do something.

Conditions for Deadlock

  • Mutual exclusion: resources cannot be shared.
  • Hold and wait: processes request resources incrementally, and hold on to what they've got.
  • No preemption: resources cannot be forcibly taken from processes.
  • Circular wait: circular chain of waiting, in which each process is waiting for a resource held by the next process in the chain.

Human do error, please email:- if you find any. Please visit for more resource.