OpenWalnut
1.4.0
|
Helper class. More...
#include <WCondition_test.h>
Public Member Functions | |
void | threadMain () |
Thread main method. | |
void | threadMain () |
The thread. | |
void | threadMain () |
Thread main method. | |
Callable () | |
Constructor. | |
void | threadMain () |
Thread function. | |
Public Attributes | |
bool | flag |
Flag set to true when thread starts. | |
WCondition * | c |
The condition to be used for signalling. | |
WConditionOneShot * | c |
The condition to use. | |
WFlag< bool > * | flag |
The flag to be tested. | |
bool | finished |
True if the thread finishes. |
Helper class.
Definition at line 38 of file WCondition_test.h.
Callable::Callable | ( | ) | [inline] |
void Callable::threadMain | ( | ) | [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().
void Callable::threadMain | ( | ) | [inline] |
The thread.
Definition at line 54 of file WConditionOneShot_test.h.
References c, flag, and WCondition::notify().
void Callable::threadMain | ( | ) | [inline] |
Thread main method.
Definition at line 55 of file WConditionSet_test.h.
References c, flag, and WCondition::notify().
void Callable::threadMain | ( | ) | [inline] |
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().
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.