Inherits DD::Image::BaseReadWriteGuard.
Public Member Functions | |
TryWriteGuard (ReadWriteLock &m) | |
TryWriteGuard (ReadWriteLock *m) | |
bool | isLocked () const |
guard that performs a try write lock on ctor and on lock on dtor. Use for scoping a read/write lock to get automatic unlocking