|
BDE 4.39.x Production Release
|
#include <bdlcc_stripedunorderedcontainerimpl.h>
This class holds locks on an array of locks, established in sequential order, and unlocks them upon destruction in the RAII pattern.
Public Member Functions | |
| StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard (StripedUnorderedContainerImpl_LockElement *firstLock_p) | |
| ~StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard () | |
| void | lock (StripedUnorderedContainerImpl_LockElement *lock_p) |
|
inline |
Create a guard object 'StripedUnorderedContainerImpl_ArrayOfLocksWriteGuard' to lock and unlock elements in an array beginning with the lock pointed to by the specified 'firstLock'.
|
inline |
|
inline |
Lock the specified *lock_p and add it to the collection of locks to be unlocked upon destruction of this object.
lock on this object.