This class holds locks on an array of locks, established in sequential order, and unlocks them upon destruction in the RAII pattern.
Declared in <bdlcc_stripedunorderedcontainerimpl.h>
class StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard;
| Name | Description |
|---|---|
StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard [constructor] | Create a guard for an array of locks beginning at firstLock_p. |
~StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard [destructor] | Release all guarded locks and destroy this object. |
lock | Lock *lock_p and release it when this guard is destroyed. |