answersLogoWhite

0

Deadlock is not really anything a user has to worry about. Deadlock is merely what happens when two objects want to make the use of each other's resource, but won't release the resource they have until they get the resource they want.

How this is usually prevented is to have an object drop ANY resource it no longer needs before trying to get a new resource. This is just one approach, as it doesn't stop deadlock if both objects need the resource they have but need a resource the other object needs.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Is semaphore synchronize critical resources to prevent deadlock?

yes


What is the difference between deadlock preventation and dead lock detection?

The difference is exactly what you have just stated: deadlock prevention is used to stop deadlocks before they happen (to prevent them), while deadlock detection is used to figure out when a process has deadlocked (to detect it).


Why Bankers algorithm to avoid deadlock is called so?

It is called that so that the algorithm will prevent such a financial situation.


What are the various strategies are used to handle deadlock and what is centralized and distributed deadlock detection and prevention?

There are four strategies of dealing with deadlock problem:1. The Ostrich ApproachJust ignore the deadlock problem altogether.2. Deadlock Detection and RecoveryDetect deadlock and, when it occurs, take steps to recover.3. Deadlock AvoidanceAvoid deadlock by careful resource scheduling.4. Deadlock PreventionPrevent deadlock by resource scheduling so as to negate at least one of the four conditions.


How do you prevent focus stealing in Windows 7?

Use Linux?


What is an antonym for the word deadlock?

The antonym for deadlock is agreement.


Which McAfee product will work on Linux?

The only product McAfee has for Linux is McAfee LinuxShield. It is intended for large businesses with Linux servers, to prevent Windows viruses from passing through the system.


When was Wedlock Deadlock created?

Wedlock Deadlock was created in 1947.


When was Holy Deadlock created?

Holy Deadlock was created in 1934.


When was Deadlock - film - created?

Deadlock - film - was created in 1931.


What are the release dates for House of Dreams - 2004 To Deadlock or Not to Deadlock 1-3?

House of Dreams - 2004 To Deadlock or Not to Deadlock 1-3 was released on: USA: 22 January 2004


How many pages does Holy Deadlock have?

Holy Deadlock has 311 pages.