Deadlock Avoidance in OS
Deadlock Avoidance in OS Deadlock Avoidance introduction: In deadlock prevention, we restrict resource requests to prevent four conditions of deadlocks. Deadlock avoidance is another approach for solving deadlock problems in a computer network system. The term avoidance is a bit confusing. In fact, in this approach better strategies are applied to prevent the occurrence of a deadlock in a system. Deadlock avoidance allows for more concurrency than prevention. With deadlock avoidance, a decision is made dynamically whether the current resource allocation request (if granted) will potentially lead to a deadlock or not on a computer network system. Deadlock Avoidance Technique: In the Deadlock Avoidance technique, the operating system needs additional information about how resources are to be requested to avoid a deadlock. The operating system only accepts those requests of processes to allocate resources that will not lead to deadlock. for this purpose, each request that in making t...