Deadlock: Deadlock is a situation when two processes, each having a lock on one resource and attempt to acquire a lock on the other's resource. In this case, each process would have to wait indefinitely until one of them releases the lock on the holding resource.
Livelock: Livelock is a situation, where in a request for an exclusive lock is repeatedly denied because of series of overlapping shared locks keeps interfering. A livelock also occurs when read transactions monopolize a resource(file/page/memory location), forcing a write transaction to wait indefinitely.


Sirisha KPosted Mar 17, 2016, 3:31 AM EDT
Nice swetha
Shweta LodhaTOP 100Posted May 7, 2014, 12:40 AM EDT
Thanks Gopi
Gopi ChandPosted Apr 20, 2014, 10:35 AM EDT
Well explained the difference mam..