#include <threadableobject.h>
Inheritance diagram for ThreadableObject:

Public Member Functions | |
| ThreadableObject () | |
| virtual void | StartThreadFunc (void *p_argument)=0 |
Static Public Member Functions | |
| ThreadableObject * | GetThat () |
Protected Member Functions | |
| WORM_STATUS_CODE | StartThreadWithArg (TO_STACK_SIZE stack_size, TO_THREAD_ID *thread_id, void *arg) |
| WORM_STATUS_CODE | StartThread (TO_STACK_SIZE stack_size, TO_THREAD_ID *thread_id) |
Static Protected Member Functions | |
| void | KillSelfThread () |
| int | WaitForThread (TO_THREAD_ID *thread_id) |
| int | KillThread (TO_THREAD_ID tid) |
Static Protected Attributes | |
| ThreadableObject * | That = NULL |
| TMutex * | ThatMutex = NULL |
|
|
Definition at line 217 of file threadableobject.h. |
|
|
Definition at line 230 of file threadableobject.h. Referenced by StartObjectThread(). |
|
|
Definition at line 130 of file threadableobject.cpp. |
|
|
Definition at line 152 of file threadableobject.cpp. References WORM_STAT_FAILURE, and WORM_STAT_SUCCESS. Referenced by WormServerBase::Listener(). |
|
||||||||||||
|
Definition at line 157 of file threadableobject.h. References StartThreadWithArg(), and WORM_STATUS_CODE. Referenced by WormServerBase::Run(). |
|
|
Implemented in TModuleBase, MutableServerBase, and WormServerBase. Referenced by StartObjectThread(). |
|
||||||||||||||||
|
Definition at line 67 of file threadableobject.cpp. References TMutex::ReleaseLock(), TMutex::RequestLock(), That, ThatMutex, WORM_STAT_FAILURE, WORM_STAT_SUCCESS, and WORM_STATUS_CODE. Referenced by WormServerBase::Listener(), MutableServerBase::MainThreadActions(), and StartThread(). |
|
|
Definition at line 139 of file threadableobject.cpp. References WORM_STAT_FAILURE, and WORM_STAT_SUCCESS. |
|
|
Definition at line 19 of file threadableobject.cpp. Referenced by StartThreadWithArg(). |
|
|
Definition at line 18 of file threadableobject.cpp. Referenced by StartThreadWithArg(). |
1.3-rc3