ReadWriteLock
Java · 3 notes
- 6.19 ReentrantReadWriteLockhistorical
Exclusive locks prevent concurrent readers, while read-write locks allow them. These notes introduce ReentrantReadWriteLock through that need.
- 6.31 Nonfair ReadWriteLockhistorical
These notes follow ReentrantReadWriteLock source code to examine nonfair read-write lock acquisition and direct acquisition attempts.
- 6.38 Fair ReadWriteLockhistorical
These notes follow ReentrantReadWriteLock source code to examine fair read-write locking and how the wait queue participates in acquisition.