Lumiera
0.pre.03
»edit your freedom«
|
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 Monitor & | getMonitor (Sync const *forThis) |
|
inline |
harvesting the result...
Definition at line 62 of file sync-waiting-test.cpp.