answersLogoWhite

0


Best Answer

A deadlock occurs when two (or more) threads have created a situation where they are all blocking each other. ... Starvation occurs when a scheduler process (i.e. the operating system) refuses to give a particular thread any quantity of a particular resource (generally CPU).

User Avatar

Kenyatta Baumbach

Lvl 10
4y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is deadlock what is starvation How do they differ from each other?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Short note on fragmentation?

Starvation is similar in effect to http://www.answers.com/topic/deadlock-game. Deadlock occurs when two programs each hold resources the other needs to finish, and neither is willing to give them up. Starvation occurs when one program holds resources the other needs, but is unwilling to give them up.


How does Thai musical ensemble differ from each other?

how does the thai musical essemble differ from each other


What is Deadlock avoidance?

Deadlock is a situation when two thread are waiting on each other to release a resource. Deadlock avoidance methods are : 1) ostrich approach 2) eliminating hold and wait situation 3) eliminating mutual exclusion


Sentence using deadlock?

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.


Do the cells beneath the formative phase differ from each other?

due to their structure and function they are differ from each other


How do eukaryotic cells differ from each other?

Eukaryotic cells differ from each other due to their structure and function


What causes Deadlock?

A set of processes is deadlock if each process in the set is waiting for an event that only another process in the set can cause.


What are five ways electromagnetic waves differ from each other?

need to describe in five ways how electronic waves differ each other


In what ways do minerals differ each other?

minerals differ in appearance and texture


How do amino acids distinguish from each other?

They differ from each other by the cognent that it is connected to.


How do colors of light differ from each other?

they differ by the length of the wave. And by the object that they hit.


How do you prevent deadlock in Linux?

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.