Return whether the two thread handles identify the same thread.

Synopsis

Declared in <bslmt_threadutil.h>

static
bool
areEqual(
    Handle const& a,
    Handle const& b);

Description

Return true if the specified a and b thread handles identify the same thread, or if both a and b are invalid handles, and false otherwise. Note that if either of a or b is an invalid handle, but not both, this method returns false.

Return Value

true if both handles identify the same thread

Parameters

Name

Description

a

first thread handle to compare

b

second thread handle to compare

Created with MrDocs