> For the complete documentation index, see [llms.txt](https://hanfak.gitbook.io/workspace/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hanfak.gitbook.io/workspace/general-paradigms/programming-types/concurrent-and-parallel-prog/liveness/abandoned-lock.md).

# Abandoned Lock

* another form of a deadlock through thread death.
* If one thread or process acquires a lock, and then terminates because of some unexpected reason, it may not automatically release the lock before it disappears.
* That leaves other tasks like me stuck waiting for a lock that will never be released and getting hungry.
