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, 7:31 AM
Nice swetha
Shweta LodhaPosted May 7, 2014, 4:40 AM
Thanks Gopi
Gopi ChandPosted Apr 20, 2014, 2:35 PM
Well explained the difference mam..