Public Member Functions | |
XFCIMPORT INT32 | waitDeath () |
Blocks until the thread ends and returns exit code. | |
virtual XFCIMPORT | ~XFcThread () |
Virtual destructor. | |
Static Public Member Functions | |
XFCIMPORT XFcThread * | create (INT32(*aFunc)(void *), void *aArg) |
Creates a new thread and starts running it. | |
XFCIMPORT void | exit (INT32 aExitCode) |
Exits the caller thread. | |
XFCIMPORT UINT32 | getId () |
Returns identifier of the caller thread. | |
Protected Member Functions | |
XFcThread () | |
Protected constructor. | |
INT | init (INT32(*aFunc)(void *), void *aArg) |
Initializes a thread and starts running it. | |
Private Attributes | |
void * | mThread |
Thread handle. |
This class encapsulates thread handling routines in a platform-independent way.
Using threads generally slow down some systems.
|
Virtual destructor.
|
|
Protected constructor.
|
|
Creates a new thread and starts running it.
|
|
Exits the caller thread.
|
|
Returns identifier of the caller thread.
|
|
Initializes a thread and starts running it.
|
|
Blocks until the thread ends and returns exit code.
|
|
Thread handle.
|
![]() | ||||
![]() |
Confidential Copyright © 2002-2003 Fathammer | with doxygen by Dimitri van Heesch |