BloombergLP::bslmt::ThreadUtilImpl<Platform::PosixThreads>::areEqual

Return whether the two thread handles identify the same thread.

Synopsis

Declared in <bslmt_threadutilimpl_pthread.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, and false otherwise.

Return Value

true if both handles identify the same thread, and false otherwise

Parameters

NameDescription
afirst thread handle to compare
bsecond thread handle to compare