[#BloombergLP-bslmt-ThreadUtilImpl-04-selfIdAsUint64] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtilImpl-04.adoc[ThreadUtilImpl<Platform::PosixThreads>]::selfIdAsUint64 :relfileprefix: ../../../ :mrdocs: Return an integral identifier that can be used to uniquely identify the current thread within the current process. This representation is particularly useful for logging purposes. 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/bsls/Types/Uint64.adoc[bsls::Types::Uint64] selfIdAsUint64(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#