﻿# Abandoned Lock

Abandoned Lock\. Errors occurring when a [thread](https://pvs-studio.com/en/blog/terms/0048/) traps some resource \(a critical section, [mutex](https://pvs-studio.com/en/blog/terms/0034/)\) and is withdrawn from execution for some reason\. As the result the resource cannot be released\. If another thread needs it this will lead to infinite waiting\.