[#BloombergLP-bdlcc-StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard/2constructor.adoc[`StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard`] [.small]#[constructor]# | Create a guard for an array of locks beginning at `firstLock_p`. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard/2destructor.adoc[`~StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard`] [.small]#[destructor]# | Release all guarded locks and destroy this object. | xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard/lock.adoc[`lock`] | Lock `*lock_p` and release it when this guard is destroyed. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#