2 votes 2 votes what is the difference between livelock and deadlock?how will you explain livelock to layman?asked at an interview @iitb Operating System operating-system deadlock-prevention-avoidance-detection + – sumit kumar asked Nov 10, 2014 sumit kumar 3.1k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 7 votes 7 votes Deadlock means two or more processes are waiting for a lock without doing anything (inactive). Livelock means processes are active but not able to progress due to interdependence. Its like two people trying to cross a one man bridge, both backing off together and then both trying to move at the same time and doing this indefinitely. http://www.cs.sfu.ca/CourseCentral/300/oneill/Resources/Segment7.pdf Arjun answered Nov 10, 2014 selected Nov 10, 2014 by sumit kumar Arjun comment Share Follow See 1 comment See all 1 1 comment reply Raj_Choudhary commented Nov 29, 2017 reply Follow Share Arjun sir is it true if (livelock) then deadlock? and if deadlock then live lock may or may not possible? 0 votes 0 votes Please log in or register to add a comment.