NCBI C++ ToolKit
|
Search Toolkit Book for CThreadSystemID
#include <corelib/ncbimtx.hpp>
Public Types | |
typedef TThreadSystemID | TID |
Define a simpler alias for TThreadSystemID. More... | |
Public Member Functions | |
bool | operator== (const CThreadSystemID &tid) const |
Equality operator for thread ID. More... | |
bool | operator!= (const CThreadSystemID &tid) const |
Non-equality operator for thread ID. More... | |
void | Set (const CThreadSystemID &tid) volatile |
volatile versions of above methods More... | |
bool | Is (const CThreadSystemID &tid) const volatile |
bool | IsNot (const CThreadSystemID &tid) const volatile |
Static Public Member Functions | |
static CThreadSystemID | GetCurrent (void) |
Get the current thread ID. More... | |
Public Attributes | |
TID | m_ID |
Thread ID. More... | |
Define thread system ID.
The CThreadSystemID is based on the platform dependent thread ID type, TThreadSystemID, defined in ncbithr_conf.hpp.
Definition at line 176 of file ncbimtx.hpp.