#include <vdkthread.h>
It is possible to use a VDKThread in two way:
class NewClass : public VDKThread { protected: void Execute () { // my code } public: NewClass (); ~NewsClass (); } //... NewClass thread; thread.Start();
| void VDKThread::Exit | ( | void * | status = 0 |
) | [protected] |
Exit from the thread
| VDKThreadEnum VDKThread::Start | ( | void * | = NULL |
) |
Start the thread.
| VDKThreadEnum VDKThread::Stop | ( | ) |
Stops executing thread (command from other threads).
| void * VDKThread::Wait | ( | ) |
Wait until the thread is terminated (it is used from other threads).
| unsigned int VDKThread::GetID | ( | ) | [inline] |
Return the thread ID.
| VDKThreadEnum VDKThread::state |
Store thread status.
1.5.1