Return whether the two thread identifiers refer to the same thread.

Synopsis

Declared in <bslmt_threadutil.h>

static
bool
areEqualId(
    Id const& a,
    Id const& b);

Description

Return true if the specified a thread identifier is associated with the same thread as the specified b thread identifier, and false otherwise.

Return Value

true if both identifiers refer to the same thread

Parameters

Name

Description

a

first thread identifier to compare

b

second thread identifier to compare

Created with MrDocs