What is Dead lock ? List four necessary conditions for Deadlock.


Deadlock implement with scheduling and it occurs when waiting time increases during the process. There are various conditions for Deadlock.

  1. Hold and wait condition: In this condition, resources wait for processor execution.It also occurs when process waiting for resources.
  2. Mutual Exclusive condition:: In this condition, at least one resource must be specified as non-shareable status. so, we can avoid deadlock. None shareable resource automatically uses when a deadlock occurs.
  3. Circular wait condition:: The process in the system execute resources in the circular method then also occurs deadlock.
  4. Non-Primitive condition:: In this condition, the process allocates for a resource but resource not formed. In this situation, Deadlock cannot modify and maintain.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.