Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: e32std.h
Link against:

Class TThreadId

TThreadId

Support

Supported from 5.0

Description

Encapsulates the Id of a thread.

An object of this type is not explicitly constructed in open code but is returned by the Id() member function of a thread handle, an RThread.

The class also supplies two comparison operators, == and != to compare pairs of thread Ids.

Defined in TThreadId:
operator!=(), operator==()


Comparison operators


operator==()

TInt operator==(TThreadId aId);

Description

Tests whether this thread Id is equal to the specified Id.

Parameters

TThreadId aId

The thread Id to be compared with this thread Id.

Return value

TInt

True, if the thread Ids are equal; false otherwise.


operator!=()

TInt operator!=(TThreadId aId);

Description

Tests whether this thread Id is unequal to the specified thread Id.

Parameters

TThreadId aId

The thread Id to be compared with this thread Id.

Return value

TInt

True, if the thread Ids are unequal; false otherwise.