IThreadHandle

This class represents a thread handle, which is a means for interacting with a thread.


IThreadHandle - Member Functions and Data by Group

Constructors & Destructor

Construct and destruct thread handle objects.


[view class]
IThreadHandle
public:
IThreadHandle(Value thread = 0)
Constructs an IThreadHandle object from an operating system handle of type Value. Typically this value originates in a system API call.

Supported Platforms

Windows OS/2 AIX
Yes No No


Diagnostics

These methods provide debug information about thread handle objects.


[view class]
asDebugInfo
public:
IString asDebugInfo() const
Returns the handle as a string containing diagnostic information.

Supported Platforms

Windows OS/2 AIX
Yes No No


[view class]
asString
public:
IString asString() const
Returns the handle as a string of form nnnn.

Supported Platforms

Windows OS/2 AIX
Yes No No


Member Access

These methods provide access to member data.


[view class]
asUnsigned
public:
unsigned long asUnsigned() const
Returns the handle value as an unsigned long value.

Supported Platforms

Windows OS/2 AIX
Yes No No


[view class]
operator Value
public:
operator Value() const
Returns the handle as its operating system dependent type. Use this operator when you use the handle object as an argument to an operating system function.

Supported Platforms

Windows OS/2 AIX
Yes No No


Public Data

Public data provided by this class.


[view class]
noHandle
public:
static const IThreadHandle noHandle
A handle object that represents the value of an invalid handle.

Supported Platforms

Windows OS/2 AIX
Yes No No


IThreadHandle - Type Definitions


[view class]
Value
typedef void * Value
A typedef for the host specific type for the handle member.

Supported Platforms

Windows OS/2 AIX
Yes No No


IThreadHandle - Associated Globals


operator <<
ostream& operator <<(ostream& aStream, const IThreadHandle& aHandle)
Streams this thread object out to the passed ostream.


IThreadHandle - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data