[#BloombergLP-bslmt-ThreadUtilImpl-04-areEqualId]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtilImpl-04.adoc[ThreadUtilImpl&lt;Platform::PosixThreads&gt;]::areEqualId
:relfileprefix: ../../../
:mrdocs:

Return whether the two thread identifiers refer to the same thread&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;threadutilimpl&lowbar;pthread&period;h&gt;`

[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&period;

== 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]#
