Q. Explain about System Deadlock?
A deadlock denotes to the condition when simultaneous processes are holding resources and putting off each other from finishing their execution.
The consequent situations can avoid deadlock from happening:
1) Mutual exclusion: All processes are given exclusive control of resources allotted to it.
2) Non-preemption: A process isn't permitted to free its resources until task is completed.
3) Wait for: A process may hold resources at the same time as waiting for extra resources.
4) Circular wait: Many processes wait for resources from other processes in a circularly dependent circumstance.