[#BloombergLP-bslmt-ThreadUtil-isEqualId]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtil.adoc[ThreadUtil]::isEqualId
:relfileprefix: ../../../
:mrdocs:

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

== Synopsis

Declared in `&lt;bslmt&lowbar;threadutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
isEqualId(
    xref:BloombergLP/bslmt/ThreadUtil/Id.adoc[Id] const& a,
    xref:BloombergLP/bslmt/ThreadUtil/Id.adoc[Id] const& b);
----

== Description

Return `true` if the specified `a` thread identifier is associated with the same thread as the specified `b` thread identifier, and `false` otherwise&period;

DEPRECATED&colon; use `areEqualId` instead&period;

== Return Value

`true` if both identifiers refer to the same thread

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