answersLogoWhite

0

Peacekeepers tried to break the deadlock between the two waring nations, but failed, and the war continued.

A deadlock is a situation in which two or more competing actions are each waiting for the other to finish, and thus neither ever does.

Search Google for info on deadlock in computers.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Can deadlock be resolved without selecting a victim?

Yes, deadlock can be resolved by avoiding the conditions that lead to it, breaking the circular wait, or using deadlock prevention techniques like resource allocation graph, timeouts, or priority-based techniques. In some cases, deadlock can also be prevented by ensuring a single thread holds all resources simultaneously or by using a deadlock detection algorithm to preemptively handle it.


Is deadlock possible only using two way handshake?

Deadlock can occur in various communication protocols, not just those using a two-way handshake. It typically arises when multiple processes or threads are waiting for resources that are held by each other, creating a circular wait condition. While a two-way handshake may contribute to scenarios that lead to deadlock, it is not the sole mechanism through which deadlock can happen. Other protocols and methods, like those using multiple resources or different types of handshakes, can also result in deadlock situations.


What is a readers writers problem without deadlock and starvation?

When using threads, the entire point of a reader/writer problem is to avoid deadlock and starvation. The only way to avoid deadlock or starvation without the use of semaphores is for there to be only one possible process that could run, that is one reader and one writer only.


What is the difference among deadlock avoidance detection and prevention?

Deadlock prevention is the name of the technique that is designed to get rid of deadlocks by changing the specifications of the system , that is the system design change. This is , basically , about how requests about resources are made and how they are permitted. However , deadlock avoidance is a technique that aims to check deadlock possibility dynamically and decides whether it is safe to grant a resource or not. It ,definitely , needs extra information about potential use of resources for each process. Deadlock Prevention: Preventing deadlocks by constraining how requests for resources can be made in the system and how they are handled (system design). The goal is to ensure that at least one of the necessary conditions for deadlock can never hold. Deadlock Avoidance: The system dynamically considers every request and decides whether it is safe to grant it at this point, The system requires additional apriori information regarding the overall potential use of each resource for each process. Allows more concurrency. Similar to the difference between a traffic light and a police officer directing traffic.


Is it possible to prevent deadlock using priority inheritance?

Yes, priority inheritance can help prevent deadlock by allowing lower-priority tasks that hold resources needed by higher-priority tasks to temporarily inherit the higher priority. This mechanism reduces the chances of priority inversion, where a low-priority task blocks a high-priority task, which can lead to deadlock. However, while priority inheritance can mitigate some conditions that lead to deadlock, it does not eliminate the possibility of deadlock entirely; proper design and resource allocation strategies are also necessary.


What are the differences between deadlock avoidance and deadlock prevention in operating systems?

Deadlock Prevention: o Preventing deadlocks by constraining how requests for resources can be made in the system and how they are handled (system design). o The goal is to ensure that at least one of the necessary conditions for deadlock can never hold. * Deadlock Avoidance: o The system dynamically considers every request and decides whether it is safe to grant it at this point, o The system requires additional apriori information regarding the overall potential use of each resource for each process. o Allows more concurrency. Similar to the difference between a traffic light and a police officer directing traffic. * Deadlock deduction:- Often, neither avoidance nor deadlock prevention may be used. Instead deadlock detection and process restart are used by employing an algorithm that tracks resource allocation and process states, and rolls back and restarts one or more of the processes in order to remove the deadlock. Detecting a deadlock that has already occurred is easily possible since the resources that each process has locked and/or currently requested are known to the resource scheduler or OS. Detecting the possibility of a deadlock before it occurs is much more difficult and is, in fact, generally undecidable, because the halting problem can be rephrased as a deadlock scenario. However, in specific environments, using specific means of locking resources, deadlock detection may be decidable. In the general case, it is not possible to distinguish between algorithms that are merely waiting for a very unlikely set of circumstances to occur and algorithms that will never finish because of deadlock. Deadlock detection techniques include, but is not limited to, Model checking. This approach constructs a Finite State-model on which it performs a progress analysis and finds all possible terminal sets in the model. These then each represent a deadlock.


Using petroleum in a sentence?

Using petroleum in a sentence?


How deadlock can be prevented?

Deadlock can be prevented by using techniques such as enforcing a strict ordering of resource requests, implementing a timeout mechanism that releases resources if they are not available within a certain time frame, using resource preemption to forcibly take resources from one process to allocate to another, or designing systems that minimize the possibility of circular wait conditions. Additionally, avoiding the use of multiple resources at the same time or reducing resource contention can also help prevent deadlock.


Show how deadlocks may be modeled using Petri Nets?

Deadlocks can be modeled using Petri Nets by representing processes as places and resources as transitions. In this model, tokens in the places signify the availability of resources or the state of processes. A deadlock occurs when there is a circular wait condition, where each process holds a resource that the next process in the cycle needs, leading to a situation where no process can proceed. The Petri Net structure can visually illustrate these interactions and the states leading to deadlock, allowing for analysis and identification of potential deadlock situations.


What is a sentence using the word aquit?

this is a sentence using aquit


What is a sentence using the word not?

I am not writing a sentence using that word.


A sentence using the word endotracheal?

a sentence using the word endotracheal