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

Return an identifier that can be used to uniquely identify the current thread within the current process&period; Note that the identifier is only valid until the thread terminates and may be reused thereafter&period;

== Synopsis

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

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


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