Polygon Crucher SDK - Documentation
Documentation
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CCustomThread Class Reference
Inheritance diagram for CCustomThread:
CXThread

Public Member Functions

 CCustomThread (XTHREADPROC threadCallback, void *threadData)
 
void SetThreadName (const char *name)
 
void StopThread ()
 
bool MustTerminate ()
 
- Public Member Functions inherited from CXThread
 CXThread (bool autoDelete=true)
 
 CXThread (XTHREADPROC threadCallback, void *threadData)
 
xThreadHandle GetThreadHandle () const
 
xThreadID GetThreadID () const
 
bool IsValidThread () const
 
bool IsSuspended () const
 
bool IsTerminated () const
 
bool SuspendThread ()
 
bool ResumeThread ()
 
xThreadPriority GetThreadPriority () const
 
bool SetThreadPriority (xThreadPriority priority)
 
bool ShouldCancel () const
 
void SetCancel ()
 
bool Lock (bool lock) const
 
void SetAutoDelete (bool autoDelete)
 
voidGetUserThreadData ()
 

Static Public Member Functions

static void SetThreadName (xThreadID threadID, const char *name)
 
static void SetCurrentThreadName (const char *name)
 
static xThreadID GetCurrentThreadID ()
 
static unsigned int GetRunningThreadCount ()
 
static bool HardThreadsTermination (bool onlyNotCriticalThreads=false)
 
static void WaitEndOfThreads (bool exitApplication=true)
 
static void AskForThreadsEnd (bool resumeThreads)
 
static bool ThreadsMustTerminate ()
 
- Static Public Member Functions inherited from CXThread
static void SleepCurrentThread (unsigned int milliSeconds)
 
static xThreadID GetMainThreadID ()
 
static xThreadID GetCurrentThreadID ()
 
static CXThreadBeginThread (CXThread *pThread, xThreadPriority=XTHREAD_PRIORITY_NORMAL, unsigned int createFlags=XTHREAD_DEFAULT, size_t stackSize=0)
 
static CXThreadBeginThread (XTHREADPROC threadCallback, void *pUserThreadData, xThreadPriority=XTHREAD_PRIORITY_NORMAL, unsigned int createFlags=XTHREAD_DEFAULT, size_t stackSize=0)
 
static CXThreadBeginThread (const CXRuntimeClass *pThreadClass, void *pUserThreadData=NULL, xThreadPriority=XTHREAD_PRIORITY_NORMAL, unsigned int createFlags=XTHREAD_DEFAULT, size_t stackSize=0)
 

The documentation for this class was generated from the following file: