Deadlock vs Livelock - What's the difference?
deadlock | livelock |
A standstill resulting from the opposition of two evenly matched forces; a stalemate or impasse
(computing) An inability to continue due to two programs or devices each requiring a response from the other before completing an operation
(computing) A condition resembling deadlock in which various computational processes are constantly changing but never reach a point where any of them can proceed.
* 2003 , Mark Pearce, Comprehensive VB .NET Debugging , ISBN 9781590590508,
In computing terms the difference between deadlock and livelock
is that deadlock is an inability to continue due to two programs or devices each requiring a response from the other before completing an operation while livelock is a condition resembling deadlock in which various computational processes are constantly changing but never reach a point where any of them can proceed.As nouns the difference between deadlock and livelock
is that deadlock is a standstill resulting from the opposition of two evenly matched forces; a stalemate or impasse while livelock is a condition resembling deadlock in which various computational processes are constantly changing but never reach a point where any of them can proceed.As a verb deadlock
is to cause or to come to a deadlock.deadlock
English
Noun
(wikipedia deadlock) (en noun)Derived terms
* break the deadlocklivelock
English
Noun
p. 439 (Google preview):
- A process is considered to be in a state of livelock when thread code is still executing, but two or more threads are in a never-ending cycle with each other and no useful work is being done.
