Skip to content

Tag Archives: Deadlocks

Deadlock is a situation which involves the interaction of more than one resources and processes with each other. We can visualise the occurrence of deadlock… Read More
Prerequisite – Deadlock and Starvation  Livelock occurs when two or more processes continually repeat the same interaction in response to changes in the other processes… Read More
Prerequisite – Deadlock Introduction, deadlock detection In the centralized approach of deadlock detection, two techniques are used namely: Completely centralized algorithm and Ho Ramamurthy algorithm (One… Read More
Deadlock occurs when each transaction T in a schedule of two or more transaction waiting for some item locked by some other transaction T‘ in… Read More
  In the previous post, we have discussed Deadlock Prevention and Avoidance. In this post, the Deadlock Detection and Recovery technique to handle deadlock is… Read More
  Deadlock Characteristics As discussed in the previous post, deadlock has following characteristics.   Mutual Exclusion Hold and Wait No preemption Circular wait Deadlock Prevention We can prevent… Read More
  A process in operating system uses resources in the following way. 1) Requests a resource 2) Use the resource 3) Releases the resource  Deadlock is a situation… Read More
Consider the following snapshot of a system running n processes. Process i is holding Xi instances of a resource R, 1 <= i <= n.… Read More
Suppose n processes, P1, …. Pn share m identical resource units, which can be reserved and released one at a time. The maximum resource requirement… Read More

Start Your Coding Journey Now!