Dynamic Deadlock Avoidance
One approach to dealing with deadlocks is to allow deadlocks to occur and to provide means for detection and recovery. Recovery from a deadlock can be accomplished by destroying one or more of the processes involved in the deadlock, or by removing some of the resources held by the deadlocked processes. The banker’s algorithm emulates…