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

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

Synopsis

Declared in <bslmt_threadutilimpl_pthread.h>

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

Description

Return true if the specified a and b thread id identify the same thread, and false otherwise.

Return Value

true if both identifiers refer to the same thread, and false otherwise

Parameters

NameDescription
afirst thread identifier to compare
bsecond thread identifier to compare