|
public
Init
Run
constructors/destructors
XThread
initiate/terminate a process
RunThreads
Terminate
|
Derrived | : public XProcess
|
|
|
Definition | void Init ( void )
virtual void Init ( void ) |
Returns | void |
|
Definition | void Run ( ) |
Returns | void |
|
|
contructs a thread. After a thread is constructed, call Run() to make
the thread work. You can override method Init() where you can construct
windows and so on. After you have called Run() for one or more threads,
you must call 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! At this time it is not posssible to start threads from a XApplication.
To start a thread the starting process must be a thread too.
|
Definition | XThread ( )
|
Parameters | : -
|
Returns | -
-
|
|
|
call RunThreads if you have constructed one or more threads.
Call RunTreads only one time.
|
Definition | void RunThreads ( void )
static void RunThreads ( void )
|
Parameters | : -
|
Returns | void
static void
-
|
|
With this method a thread can be terminated. If you
call Terminate() the method QueryForQuit() will not be called.
|
Definition | void Terminate ( void )
virtual void Terminate ( void )
|
Parameters | : -
|
Returns | void
-
|