Lumiera  0.pre.03
»edit your freedom«
SyncOnBool Class Reference

Description

demonstrates how to wait on a simple boolean flag

Definition at line 40 of file sync-waiting-test.cpp.

Public Member Functions

void getIt ()
 
void provide (uint val)
 
uint result ()
 harvesting the result... More...
 

Private Attributes

atomic_bool got_new_data_ {false}
 
atomic_uint input_ {0}
 
atomic_uint sum_ {0}
 

Additional Inherited Members

- Static Public Member Functions inherited from Sync< CONF >
static MonitorgetMonitor (Sync const *forThis)
 

Member Function Documentation

◆ result()

uint result ( )
inline

harvesting the result...

Definition at line 62 of file sync-waiting-test.cpp.

+ Inheritance diagram for SyncOnBool:
+ Collaboration diagram for SyncOnBool:

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