Lumiera
0.pre.03
»edit your freedom«
|
Helper to verify a contended chain calculation.
Definition at line 54 of file sync-locking-test.cpp.
Public Member Functions | |
void | addValues (uint a, uint b) |
uint | createVal () |
bool | verify () |
Private Types | |
using | Lock = typename Sync< POLICY >::Lock |
Private Attributes | |
size_t | control_sum_ {0} |
size_t | hot_sum_ {0} |
Additional Inherited Members | |
Static Public Member Functions inherited from Sync< CONF > | |
static Monitor & | getMonitor (Sync const *forThis) |
|
inline |
b | to be called concurrently |
Definition at line 80 of file sync-locking-test.cpp.