Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
When providing locks for a shared component in a concurrent program, either by hard-coding a particular lock type into the component or by implementing Strategized Locking (388) . . .
. . . a key issue in multi-threaded programming is to ensure that locks are acquired and released automatically when entering and leaving critical sections.