Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
MonitorSync Class Reference

Description

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 MonitorgetMonitor (Sync const *forThis)
 

Constructor & Destructor Documentation

◆ MonitorSync()

MonitorSync ( uint  nFold = 2)
inline

Definition at line 61 of file sync-barrier-performance-test.cpp.

Member Function Documentation

◆ allPassed()

bool allPassed ( )
inlineprivate

Definition at line 58 of file sync-barrier-performance-test.cpp.

◆ sync()

void sync ( )
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:

Member Data Documentation

◆ latch_

int latch_
private

Definition at line 56 of file sync-barrier-performance-test.cpp.

+ Inheritance diagram for MonitorSync:
+ Collaboration diagram for MonitorSync:

The documentation for this class was generated from the following file: