![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
A Monitor based reference implementation, using Mutex + Condition Variable for sleeping wait.
Definition at line 53 of file sync-barrier-performance-test.cpp.
Public Member Functions | |
| MonitorSync (uint nFold=2) | |
| void | sync () |
Private Member Functions | |
| bool | allPassed () |
Private Attributes | |
| int | latch_ |
Additional Inherited Members | |
Static Public Member Functions inherited from Sync< CONF > | |
| static Monitor & | getMonitor (Sync const *forThis) |
|
inline |
Definition at line 61 of file sync-barrier-performance-test.cpp.
|
inlineprivate |
Definition at line 58 of file sync-barrier-performance-test.cpp.
|
inline |
Definition at line 66 of file sync-barrier-performance-test.cpp.
References Sync< CONF >::Lock::wait().
Here is the call graph for this function:
|
private |
Definition at line 56 of file sync-barrier-performance-test.cpp.
Inheritance diagram for MonitorSync:
Collaboration diagram for MonitorSync: