Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edited by NavBot (vkp) v1.0

Wiki Markup
An exceptional condition can circumvent the release of a lock, leading to deadlock. According to the Java API \[[API 2006|AA. Java References#APIBibliography#API 06]\]:

A ReentrantLock is owned by the thread last successfully locking, but not yet unlocking it. A thread invoking lock will return, successfully acquiring the lock, when the lock is not owned by another thread.

...

Wiki Markup
\[[API 2006|AA. Java References#APIBibliography#API 06]\] Class {{ReentrantLock}}

...