Public Member Functions | |
| virtual tBool | Start (tpfnBaseThreadProc apfnBaseThreadProc, void *apData)=0 |
| Starts the thread. More... | |
| virtual void | Close ()=0 |
| Close the thread handle and allow it to be restarted. Does not garantee that the thread actually finished. More... | |
| virtual tBool | IsClosed () const =0 |
| Check whether the thread has been closed. More... | |
| virtual tBool | Join (tU32 anTimeout)=0 |
| Wait for the thread to finish and then close it. More... | |
| virtual void | Kill ()=0 |
| Kill the thread immediatly. More... | |
| virtual tBool | GetIsAlive () const =0 |
| Check whether the thread is currently running. More... | |
| virtual tU64 | GetThreadID () const =0 |
| Return the thread's id. More... | |
| virtual void | SetPriority (tI32 aPriority)=0 |
| Set the thread's priority. More... | |
| virtual tI32 | GetPriority () const =0 |
| Get the thread's priority. More... | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Starts the thread.
|
pure virtual |
Close the thread handle and allow it to be restarted. Does not garantee that the thread actually finished.
|
pure virtual |
Check whether the thread has been closed.
Wait for the thread to finish and then close it.
|
pure virtual |
Kill the thread immediatly.
|
pure virtual |
Check whether the thread is currently running.
|
pure virtual |
Return the thread's id.
|
pure virtual |
Get the thread's priority.
1.8.7