This class holds locks on an array of locks, established in sequential order, and unlocks them upon destruction in the RAII pattern.
Synopsis
Declared in <bdlcc_stripedunorderedcontainerimpl.h>
class StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard;
Member Functions
Name |
Description |
|
Create a guard object 'StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard' to lock and unlock elements in an array beginning with the lock pointed to by the specified 'firstLock'. Note that this lock is not locked on construction. |
|
Release all guarded locks and destroy this object. |
Lock the specified |
Created with MrDocs