Deadlocks and Methods for Handling Deadlocks Version 0
👤 Author: by zjhumm126com 2015-12-13 15:15:39
In a multi-programming environment, several processes may compete for a finite number of resources. A process requests resources; if the resources are not available at that time, the process enters a waiting state. Sometimes, a waiting process is never again able to change state, because the resources it has requested are held by other waiting processes. This situation is called a deadlock.
A deadlock situation can arise if the following four conditions hold simultaneously in a system:
1.