Deadlock:
Two processes are said to be in deadlock situation if
process A holding onto resources required for process B and
where as B holding onto the resources required for process
A.
Starvation:
This is mostly happens in time sharing systems in which the
process which requires less time slot is waiting for the
large process to finish and to release the resources, but
the large process holding the resources for long time
(almost for forever) and the process that requires small
time slot goes on waiting. Such situation is starvation for
small process
A deadlock occurs when two (or more) threads have created a situation where they are all blocking each other. Imagine that threads T1 and T2 need to acquire both resources A and B in order to do their work. If T1 acquires resource A, then T2 acquires resource B, T1 could then be waiting for resource B while T2 was waiting for resource A. In this case, both threads will wait indefinitely for the resource held by the other thread. These threads are said to be deadlocked.
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). If there are too many high-priority threads, a lower priority thread may be starved. This can have negative impacts, though, particularly when the lower-priority thread has a lock on some resource.
Race conditions occur when two threads interact in a negatve (buggy) way depending on the exact order that their different instructions are executed. If one thread sets a global variable, for example, then a second thread reads and modifies that global variable, and the first thread reads the variable, the first thread may experience a bug because the variable has changed unexpectedly
http://www.justanswer.com/questions/5887-major-differences-deadlock#ixzz0JWXbzcQz&D
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).
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.
A deadlock is when both sides can't agree on a decision or when something is stuck and can't move. In technology, a deadlock is a situation where a group of processes are permanently blocked as a result of each process having acquired a subset of the resources needed for its completion and waiting for release of the remaining resources held by others in the same group-thus making it impossible for any of the process to proceed.
what is difference between dynamic and volumatic compressor
what is difference between mild steel and stainless steel
DEADLOCK:1) Deadlock process is permanently blocked because the required resource never becomes available.2) The resource under contention is not in continuous use.STARVATION:1) In starvation, it is not certain that a process will ever get the requested resources.2) the resource under contention is in continuous use.
lklk
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.
starvation
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).
starvation
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).
hunger means a stromg desire for food and starvation means to suffer or die from a lack of food
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.
Hunger is when you don't eat an famine is starvation on a large amount of people
Tuesday night's hockey game between the local middle schools ended in a 3-3 deadlock. Some synonyms for deadlock are tie, standstill, dead heat, and draw.
Blight refers to the disease that affects a crop and the resulting starvation and problems is a famine.