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

Return `true` if the specified `a` and `b` thread handles identify the same thread, or if both `a` and `b` are invalid handles, and `false` otherwise&period; Note that if _either_ of `a` or `b` is an invalid handle, but not both, this method returns `false`&period;

== Synopsis

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

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


[.small]#Created with https://www.mrdocs.com[MrDocs]#
