#include <TThread_Win.h>
Public Types | |
| enum | PRIORITY_ : PRIORITY { THREAD_MODE_BACKGROUND_BEGIN = 0x00010000 , THREAD_MODE_BACKGROUND_END = 0x00020000 , THREAD_PRIORITY_ABOVE_NORMAL = 1 , THREAD_PRIORITY_BELOW_NORMAL = -1 , THREAD_PRIORITY_HIGHEST = 2 , THREAD_PRIORITY_IDLE = -15 , THREAD_PRIORITY_LOWEST = -2 , THREAD_PRIORITY_NORMAL = 0 , THREAD_PRIORITY_TIME_CRITICAL = 15 } |
| typedef TINT | PRIORITY |
Public Member Functions | |
| virtual void | Main ()=0 |
| virtual | ~TThread () |
| TBOOL | Create (size_t a_iStackSize, PRIORITY a_ePriority, TUINT8 a_eFlags) |
| TBOOL | Destroy () |
Public Member Functions inherited from T2GenericDList::Node | |
| constexpr | Node () |
| ~Node () | |
| TBOOL | IsLinked () const |
| void | InsertBefore (Node *pInsertBefore) |
| void | InsertAfter (Node *pInsertAfter) |
| void | Remove () |
| Node * | Next () const |
| Node * | Prev () const |
Static Public Member Functions | |
| static TBOOL | GetPriority (void *a_hThreadHnd, PRIORITY &a_ePriority) |
| static TBOOL | SetPriority (void *a_hThreadHnd, PRIORITY a_ePriority) |
| static void | Exit (TThread *a_pThread) |
Public Attributes | |
| void * | m_hThreadHnd |
| unsigned long | m_iThreadID |
Additional Inherited Members | |
Protected Attributes inherited from T2GenericDList::Node | |
| friend | T2GenericDList |
Definition at line 19 of file TThread_Win.h.
| typedef TINT TThread::PRIORITY |
Definition at line 22 of file TThread_Win.h.
| enum TThread::PRIORITY_ : PRIORITY |
Definition at line 23 of file TThread_Win.h.
|
inlinevirtual |
Definition at line 38 of file TThread_Win.h.
Definition at line 26 of file TThread_Win.cpp.
| TBOOL TThread::Destroy | ( | ) |
Definition at line 46 of file TThread_Win.cpp.
|
static |
Definition at line 81 of file TThread_Win.cpp.
Definition at line 63 of file TThread_Win.cpp.
|
pure virtual |
Implemented in TFileStream, and Toshi::T2NamedPipeServerThread.
Definition at line 72 of file TThread_Win.cpp.
| void* TThread::m_hThreadHnd |
Definition at line 49 of file TThread_Win.h.
| unsigned long TThread::m_iThreadID |
Definition at line 50 of file TThread_Win.h.