OpenWalnut
1.4.0
|
Helper class. More...
#include <WCondition_test.h>
Public Member Functions | |
void | threadMain () |
Thread main method. More... | |
void | threadMain () |
The thread. More... | |
void | threadMain () |
Thread main method. More... | |
Callable () | |
Constructor. More... | |
void | threadMain () |
Thread function. More... | |
Public Attributes | |
bool | flag |
Flag set to true when thread starts. More... | |
WCondition * | c |
The condition to be used for signalling. More... | |
WConditionOneShot * | c |
The condition to use. More... | |
WFlag< bool > * | flag |
The flag to be tested. More... | |
bool | finished |
True if the thread finishes. More... | |
Helper class.
Definition at line 38 of file WCondition_test.h.
|
inline |
|
inline |
Thread main method.
Definition at line 54 of file WCondition_test.h.
References c, flag, and WCondition::notify().
Referenced by WConditionSetTest::testWait(), WConditionOneShotTest::testWaitNotify(), WConditionTest::testWaitNotify(), and WFlagTest::testWaitNotify().
|
inline |
The thread.
Definition at line 54 of file WConditionOneShot_test.h.
References c, flag, and WCondition::notify().
|
inline |
Thread main method.
Definition at line 55 of file WConditionSet_test.h.
References c, flag, and WCondition::notify().
|
inline |
WCondition * Callable::c |
The condition to be used for signalling.
Definition at line 49 of file WCondition_test.h.
Referenced by WConditionSetTest::testWait(), WConditionTest::testWaitNotify(), WConditionOneShotTest::testWaitNotify(), and threadMain().
WConditionOneShot* Callable::c |
The condition to use.
Definition at line 49 of file WConditionOneShot_test.h.
bool Callable::finished |
True if the thread finishes.
Definition at line 50 of file WFlag_test.h.
Referenced by Callable(), WFlagTest::testWaitNotify(), and threadMain().
bool Callable::flag |
Flag set to true when thread starts.
Flag set true when the thread starts.
Definition at line 44 of file WCondition_test.h.
Referenced by Callable(), WConditionSetTest::testWait(), WConditionTest::testWaitNotify(), WConditionOneShotTest::testWaitNotify(), WFlagTest::testWaitNotify(), and threadMain().
WFlag<bool>* Callable::flag |
The flag to be tested.
Definition at line 45 of file WFlag_test.h.