Lock *lock_p and release it when this guard is destroyed.
Synopsis
Declared in <bdlcc_stripedunorderedcontainerimpl.h>
void
lock(StripedUnorderedContainerImpl_LockElement* lock_p);
Description
The behavior is undefined unless lock_p is adjacent to the previously locked lock, or is the same lock provided to the constructor if this is the first call to lock on this object.
Parameters
Name |
Description |
lock_p |
lock to acquire and guard |
Created with MrDocs