IThreadId
- This class represents a thread id, which is a unique number that identifies a running
thread.
IThreadId - Member Functions and Data by Group
Constructors & Destructor
The constructors and destructor for this class.
- ~IThreadId
public:
~IThreadId()
- Destroys the thread id.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- IThreadId
- The constructors for this class.
Overload 1
public:
IThreadId()
- Construct an empty IThreadId object.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
Overload 2
public:
IThreadId(unsigned long thid)
- Construct an IThreadId object from an unsigned long.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
Overload 3
public:
IThreadId(const IThreadId& tid)
- Copy construct and IThreadId object.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
Assignment
The assignment operators for this class.
- operator =
public:
IThreadId& operator =(const IThreadId& tid)
- Assigns another id value to this thread id object.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
Diagnostics
Provides diagnostic information for thread id objects.
- asDebugInfo
public:
IString asDebugInfo() const
- Returns the handle as a string containing diagnostic information.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- asString
public:
IString asString() const
- Returns the handle as a string of form nnnn.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- asUnsigned
public:
unsigned long asUnsigned() const
- Returns the handle value as an unsigned long value.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- isValid
public:
bool isValid() const
- Returns a boolean value that indicates whether the id is valid.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
- operator unsigned long
public:
operator unsigned long() const
- Returns the handle as an unsigned long.
- Supported Platforms
| Windows |
OS/2 |
AIX |
| Yes |
Yes |
Yes |
IThreadId - Associated Globals
operator !=
bool operator !=(const IThreadId& threadId1, const IThreadId& threadId2)
- Compares two thread id objects for inequality
operator <<
ostream& operator <<(ostream& aStream, const IThreadId& aHandle)
- Streams this thread id object out to the passed ostream.
operator ==
bool operator ==(const IThreadId& threadId1, const IThreadId& threadId2)
- Compares two thread id objects for equality.
IThreadId - Inherited Member Functions and Data
Inherited Public Functions
Inherited Public Data
Inherited Protected Functions
Inherited Protected Data