Description


Include file: xthread.h

Functions

XThread

Remarks

Contructs a thread. After a thread is constructed, call Run() to make the thread work. You should override method XThread::Init() where you can construct windows and so on. Init() is the funcion where you enter the thread and have full controll of it. To stop the thread call Terminate().
After you have called XThread::Run() for one or more threads, you must call XThread::RunThreads() to initialize this threads (only one time required).

WARNING: don∩t try to construct windows in the constructor of XThread or a derived class of it!

RunThreads

Remarks

Call RunThreads if you have constructed one or more threads. Call RunTreads only one time.

Terminate

Remarks

With this method a thread can be terminated. If you call Terminate() the method QueryForQuit() will not be called.


This document was generated by Jens von Pilgrim's Autodoc