BloombergLP::bdlcc::StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard::lock

Lock the specified *lock_p and add it to the collection of locks to be unlocked upon destruction of this object. 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.

Synopsis

Declared in <bdlcc_stripedunorderedcontainerimpl.h>

void
lock(StripedUnorderedContainerImpl_LockElement* lock_p);