|
BDE 4.14.0 Production release
|
#include <bdlcc_stripedunorderedcontainerimpl.h>
Public Member Functions | |
| StripedUnorderedContainerImpl_TestUtil (StripedUnorderedContainerImpl< KEY, VALUE, HASH, EQUAL > &hash) | |
| ~StripedUnorderedContainerImpl_TestUtil ()=default | |
| void | lockRead (const KEY &key) |
| void | lockWrite (const KEY &key) |
| void | unlockWrite (const KEY &key) |
| void | unlockRead (const KEY &key) |
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.
|
inlineexplicit |
Create a StripedUnorderedContainerImpl_TestUtil object to test locking in the specified hash.
|
default |
|
inline |
Call the lockRead method of bdlcc::StripedUnorderedContainerImpl d_locks_p lock of the specified key.
|
inline |
Call the lockWrite method of bdlcc::StripedUnorderedContainerImpl d_locks_p lock of the specified key.
|
inline |
Call the unlockRead method of bdlcc::StripedUnorderedContainerImpl d_locks_p lock of the specified key.
|
inline |
Call the unlockWrite method of bdlcc::StripedUnorderedContainerImpl d_locks_p lock of the specified key.