![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cThread.h>
Public Member Functions | |
cThreadBase () noexcept | |
virtual | ~cThreadBase () |
![]() | |
virtual | ~CObject () |
virtual bool | isValidCheck () const noexcept |
< memory allocation and structure definitions are valid. More... | |
virtual void | AssertValid () const |
< memory allocation and structure definitions are valid. More... | |
virtual void | Serialize (cArchive &a) |
![]() | |
cThreadId (THREADID_t nThreadId=k_NULL) noexcept | |
THREADID_t | GetThreadId () const noexcept |
THREADID_t | get_HashCode () const noexcept |
bool | isCurrentThread () const noexcept |
bool | isValidId () const noexcept |
void | InitCurrentId () noexcept |
Protected Attributes | |
THREADHANDLE_t | m_hThread |
there may be many handles to the same THREADID_t in _WIN32. I must call CloseThread() on this. More... | |
![]() | |
THREADID_t | m_dwThreadId |
unique thread id. i.e. stack base pointer. (Use the MFC name) More... | |
Additional Inherited Members | |
![]() | |
static THREADID_t | GetCurrentId () noexcept |
static bool | IsValidId (THREADID_t id) noexcept |
static bool | IsEqualId (THREADID_t a, THREADID_t b) noexcept |
static void | SleepCurrent (TIMESYS_t uMs=cTimeSys::k_FREQ) noexcept |
![]() | |
static const THREADID_t | k_NULL = 0 |
Not a valid thread Id. More... | |
Basic emulation of MFC CWorkerThread<>.
|
inlinenoexcept |
|
inlinevirtual |
|
protected |
there may be many handles to the same THREADID_t in _WIN32. I must call CloseThread() on this.