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

Return an opaque handle that refers to the current thread&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmt/ThreadUtil/Handle.adoc[ThreadUtil::Handle]
self();
----

== Description

Return an opaque thread identifier that can be used to refer to the current thread in calls to other `ThreadUtil` methods&period; Note that identifier may only be used to refer to the current thread from the current thread (the handle returned is not valid in other threads)&period;

== Return Value

opaque handle that refers to the current thread


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