Deadlock vs Livelock - What's the difference?

deadlock | livelock |


In computing|lang=en terms the difference between deadlock and livelock

is that deadlock is (computing) an inability to continue due to two programs or devices each requiring a response from the other before completing an operation while livelock is (computing) 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 (computing) 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)
  • 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
  • Derived terms

    * break the deadlock

    Verb

    (en verb)
  • to cause or to come to a deadlock
  • ----

    livelock

    English

    Noun

  • (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, 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.

    References

    *