Test utility exposing stripe lock/unlock for the test driver.
Synopsis
Declared in <bdlcc_stripedunorderedcontainerimpl.h>
template<
class KEY,
class VALUE,
class HASH = bsl::hash<KEY>,
class EQUAL = bsl::equal_to<KEY>>
class StripedUnorderedContainerImpl_TestUtil;
Description
This class implements a test utility that gives the test driver access to the lock / unlock method of the Read/Write mutex. Its purpose is to allow testing that the locking actually happens as planned.
Member Functions
Name |
Description |
|
Create a test utility for locking in the specified |
Acquire a read lock on the stripe for the specified |
|
Acquire a write lock on the stripe for the specified |
|
Release the read lock on the stripe for the specified |
|
Release the write lock on the stripe for the specified |
Created with MrDocs