[#BloombergLP-bslmt-ThreadUtilImpl-04-areEqualId] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtilImpl-04.adoc[ThreadUtilImpl<Platform::PosixThreads>]::areEqualId :relfileprefix: ../../../ :mrdocs: Return whether the two thread identifiers refer to the same thread. == Synopsis Declared in `<bslmt_threadutilimpl_pthread.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool areEqualId( xref:BloombergLP/bslmt/ThreadUtilImpl-04/Id.adoc[Id] const& a, xref:BloombergLP/bslmt/ThreadUtilImpl-04/Id.adoc[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 [cols="1,4"] |=== | Name| Description | *a* | first thread identifier to compare | *b* | second thread identifier to compare |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#