Deadlock implement with scheduling and it occurs when waiting time increases during the process. There are various conditions for Deadlock.
- Hold and wait condition: In this condition, resources wait for processor execution.It also occurs when process waiting for resources.
- 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.
- Circular wait condition:: The process in the system execute resources in the circular method then also occurs deadlock.
- Non-Primitive condition:: In this condition, the process allocates for a resource but resource not formed. In this situation, Deadlock cannot modify and maintain.