#include <thread.h>
Collaboration diagram for Thread:

Public Types | |
| enum | THREADEVENT |
Public Member Functions | |
| Thread (ThreadMethod *pkMethod, void *pData, ThreadCallback *pkCallback=0, TaskManager *pkTaskManager=0) | |
| virtual | ~Thread () |
| ThreadMethod * | GetThreadMethod () |
| void * | GetUserData () |
| int | GetThreadID () const |
| bool | operator< (const Thread &rkThread) const |
| bool | operator== (const Thread &rkThread) const |
Public Attributes | |
| bool | m_bTerminate |
| bool | m_bTerminated |
| bool | m_bStarted |
Protected Attributes | |
| pthread_t | m_kThread |
| void * | m_pUserData |
| int | m_iThreadID |
| TaskManager * | m_pkTaskManager |
| ThreadMethod * | m_pkMethod |
| ThreadCallback * | m_pkCallback |
Static Protected Attributes | |
| int | s_iThreadCounter |
|
|
Events |
|
||||||||||||||||||||
|
Create and start new thread
|
|
|
Terminate thread |
|
|
|
|
|
|
|
|
|
|
|
Needed for dll export of STL containers with UDTs under Win32 |
|
|
Needed for dll export of STL containers with UDTs under Win32 |
|
|
Thread identifier/data |
|
|
User-specified data |
|
|
Thread ID |
|
|
Task manager |
|
|
Thread method object |
|
|
Callback |
|
|
Static counter of all thread objects |
|
|
Terminate flag |
|
|
Flag indicating thread has terminated |
|
|
Flag inficating thread has started |
1.3.5