#include <ncbimtx.hpp>
Define thread system ID.
The CThreadSystemID is based on the platform dependent thread ID type, TThreadSystemID, defined in ncbithr_conf.hpp.
Definition at line 156 of file ncbimtx.hpp.
Public Types | |
| typedef TThreadSystemID | TID |
| Define a simpler alias for TThreadSystemID. | |
Public Member Functions | |
| bool | operator== (const CThreadSystemID &id) const |
| Equality operator for thread ID. | |
| bool | operator!= (const CThreadSystemID &id) const |
| Non-equality operator for thread ID. | |
| void | Set (const CThreadSystemID &id) volatile |
| volatile versions of above methods | |
| bool | Is (const CThreadSystemID &id) const volatile |
| bool | IsNot (const CThreadSystemID &id) const volatile |
Static Public Member Functions | |
| static CThreadSystemID | GetCurrent (void) |
| Get the current thread ID. | |
Public Attributes | |
| TID | m_ID |
| Thread ID. | |
|
|
Define a simpler alias for TThreadSystemID.
Definition at line 160 of file ncbimtx.hpp. |
|
|
Get the current thread ID.
Definition at line 165 of file ncbimtx.hpp. References id. Referenced by CDiagContextThreadData::GetThreadData(), CSafeStaticPtr_Base::Init_Lock(), SSystemMutex::Lock(), CRWLock::ReadLock(), s_GetThreadId(), SSystemMutex::TryLock(), CRWLock::TryReadLock(), CRWLock::TryWriteLock(), CRWLock::Unlock(), SSystemMutex::Unlock(), CRWLock::WriteLock(), and CRWLock::x_MayAcquireForReading(). |
|
|
Definition at line 195 of file ncbimtx.hpp. References m_ID. Referenced by CDiagContextThreadData::GetThreadData(), SSystemMutex::Lock(), CRWLock::ReadLock(), SSystemMutex::TryLock(), CRWLock::Unlock(), and CRWLock::WriteLock(). |
|
|
Definition at line 199 of file ncbimtx.hpp. References m_ID. Referenced by CRWLock::TryReadLock(), CRWLock::TryWriteLock(), and SSystemMutex::Unlock(). |
|
|
Non-equality operator for thread ID.
Definition at line 185 of file ncbimtx.hpp. References m_ID. |
|
|
Equality operator for thread ID.
Definition at line 179 of file ncbimtx.hpp. References m_ID. |
|
|
volatile versions of above methods
Definition at line 191 of file ncbimtx.hpp. References m_ID. Referenced by CDiagContextThreadData::GetThreadData(). |
|
|
Thread ID.
Definition at line 162 of file ncbimtx.hpp. Referenced by Is(), IsNot(), operator!=(), operator==(), s_GetThreadId(), and Set(). |
1.4.6
Modified on Mon Dec 07 16:24:15 2009 by modify_doxy.py rev. 173732