Q1. What are the processes of recovering from deadlock?
Ans. When a detection algorithm determines that a deadlock exists, several alternative. One is simplyto abort one or more processes to break the circular wait. The other is to preempt some resources from one or more of the deadlocked processes.
1. Process Termination
2. Resource Preemption