Using Classes with Read-Write Synchronization Resources
The remaining guard classes are used with read-write synchronization resources such as
RWReadersWriterLock. They are:
These guards behave in a manner identical to the simple guard classes, but rely on an acquisition interface that has been divided into read and write access:
Read Interface | Write Interface |
---|
acquireRead() | acquireWrite() |
tryAcquireRead() | tryAcquireWrite() |