Machine-translated by Google. Questions are authored in English.
Top

Discussion

Livelock differs from deadlock in that the tasks involved

  • A.eventually complete without any intervention
  • B.continue to execute but make no progress
  • C.are permanently blocked and consume no processor time
  • D.are all of the same priority by definition

Answer: B

Correct answer: continue to execute but make no progress

Livelocked tasks are running, responding to one another and consuming processor time, but the system as a whole advances not at all - two tasks each backing off and retrying in step, for example. Deadlocked tasks are blocked and consume nothing, which is why livelock is harder to spot in a profile.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.