[#BloombergLP-bslmt-ThreadUtilImpl-04-handleToId] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtilImpl-04.adoc[ThreadUtilImpl<Platform::PosixThreads>]::handleToId :relfileprefix: ../../../ :mrdocs: Return the unique identifier of the thread having the specified `threadHandle` within the current process. Note that this value is only valid until the thread terminates and may be reused thereafter. == Synopsis Declared in `<bslmt_threadutilimpl_pthread.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslmt/ThreadUtilImpl-04/Id.adoc[ThreadUtilImpl<bslmt::Platform::PosixThreads>::Id] handleToId(xref:BloombergLP/bslmt/ThreadUtilImpl-04/Handle.adoc[Handle] const& threadHandle); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#