It's not something you implement, it's something you might get when your code is incorrectIt is similar to a dead-lock situation which occurs when one object (thread) can never gain access to a resource (CPU, printer, file, whatever) it needs because it is always blocked by some other object. A life-lock is a situation when theoretically it may happen that the object gets access to the resource but in practice it never (or very rarely) happens and the object can never complete its task in expected time.






It is similar to a dead-lock situation which occurs when one object (thread) can never gain access to a resource (CPU, printer, file, whatever) it needs because it is always blocked by some other object. A life-lock is a situation when theoretically it may happen that the object gets access to the resource but in practice it never (or very rarely) happens and the object can never complete its task in expected time.
Reply With Quote

Bookmarks