Albert
09/24/2018, 9:28 AMread
extension method added on ReentrantReadWriteLock
and not the interface ReadWriteLock
?hudsonb
09/24/2018, 1:38 PMReentrantReadWriteLock.write
attempts to "upgrade" from a read lock to a write lock if neccessary by releasing all read locks, obtaining a write lock, performing the task, then acquiring the read locks again.