Definition at line 33 of file CThreadManager.hpp.
static void Exponent::Threading::CThreadManager::startThread | ( | IThread * | thread | ) | [static] |
Start a thread
thread | The thread to start // We want to start a thread, we first create the object that is going to be run in the thread. Note that this <B>IS NOT REFERENCE COUNTED!</B> // In normal usage, we create this local or as a member variable CMyThreadedObject object; CThreadManager::startThread(&object); // Thread now run in background and you will be notified of events through the delegate |
static void Exponent::Threading::CThreadManager::stopThread | ( | IThread * | thread | ) | [static] |
Stop a thread
thread | The thread to stop |
static void Exponent::Threading::CThreadManager::terminateThread | ( | IThread * | thread | ) | [static] |
Force terminate a thread
thread | The thread to terminate. Causes immediate termination of all actions. You will not have a chance to complete anything.. |
static unsigned long __stdcall Exponent::Threading::CThreadManager::threadCallback | ( | void * | data | ) | [static, protected] |
Windows thread call back function
data | Hopefully the IThread object.. |