試験用タスク。起動するとwaitして、起こされると生成時に渡された値をConditionStatusに加算する。 More...
Public Member Functions | |
ConditionCheckTask () | |
ConditionCheckTask (coil::Mutex &aMutex, coil::Condition< coil::Mutex > &aCondition, int anId) | |
virtual int | svc () |
Execute thread. More... | |
virtual | ~ConditionCheckTask () |
Public Member Functions inherited from coil::Task | |
virtual void | activate () |
Create a thread. More... | |
virtual void | activate () |
Create a thread. More... | |
virtual int | close (unsigned long flags=0) |
Task close. More... | |
virtual int | close (unsigned long flags=0) |
Task close. More... | |
virtual void | finalize () |
Finalizing the task. More... | |
virtual void | finalize () |
Finalizing the task. More... | |
virtual int | open (void *args=0) |
Task open. More... | |
virtual int | open (void *args=0) |
Task open. More... | |
virtual void | reset () |
Reset of task count. More... | |
virtual void | reset () |
Reset of task count. More... | |
virtual int | resume (void) |
Resuming the suspended task. More... | |
virtual int | resume (void) |
Resuming the suspended task. More... | |
virtual int | suspend (void) |
Suspending the task. More... | |
virtual int | suspend (void) |
Suspending the task. More... | |
Task () | |
Constructor. More... | |
Task () | |
Constructor. More... | |
virtual int | wait (void) |
Waiting for the thread terminate. More... | |
virtual int | wait (void) |
Waiting for the thread terminate. More... | |
virtual | ~Task () |
Destructor. More... | |
virtual | ~Task () |
Destructor. More... | |
Static Public Member Functions | |
static int | getStatus () |
結果情報のConditionStatusの現在値を返す More... | |
static void | resteStatus () |
結果情報のConditionStatusをクリアする More... | |
Static Public Member Functions inherited from coil::Task | |
static void * | svc_run (void *args=0) |
Start thread Execution. More... | |
static unsigned int WINAPI | svc_run (void *args=0) |
Start thread Execution. More... | |
Private Attributes | |
coil::Condition< coil::Mutex > * | cond |
int | id |
coil::Mutex * | mutex |
Static Private Attributes | |
static int | ConditionStatus |
試験用タスク。起動するとwaitして、起こされると生成時に渡された値をConditionStatusに加算する。
Definition at line 62 of file ConditionTests.cpp.
|
inline |
Definition at line 65 of file ConditionTests.cpp.
|
inline |
Definition at line 66 of file ConditionTests.cpp.
|
inlinevirtual |
Definition at line 73 of file ConditionTests.cpp.
|
inlinestatic |
結果情報のConditionStatusの現在値を返す
Definition at line 93 of file ConditionTests.cpp.
|
inlinestatic |
結果情報のConditionStatusをクリアする
Definition at line 89 of file ConditionTests.cpp.
|
inlinevirtual |
Execute thread.
Execute thread
Reimplemented from coil::Task.
Definition at line 77 of file ConditionTests.cpp.
|
private |
Definition at line 97 of file ConditionTests.cpp.
|
staticprivate |
Definition at line 99 of file ConditionTests.cpp.
|
private |
Definition at line 98 of file ConditionTests.cpp.
|
private |
Definition at line 96 of file ConditionTests.cpp.