[#BloombergLP-bslmt-ThreadUtil-handleToId] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtil.adoc[ThreadUtil]::handleToId :relfileprefix: ../../../ :mrdocs: Return the unique identifier of the thread having the specified `threadHandle` within the current process. The behavior is undefined unless `handle` was obtained by a call to `create` or `self`. Note that this value is valid only until the thread terminates, and may be reused thereafter. == Synopsis Declared in `<bslmt_threadutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmt/ThreadUtil/Id.adoc[ThreadUtil::Id] handleToId(xref:BloombergLP/bslmt/ThreadUtil/Handle.adoc[Handle] const& threadHandle); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#