[#BloombergLP-bslmt-ThreadUtilImpl-04-idAsUint64]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtilImpl-04.adoc[ThreadUtilImpl&lt;Platform::PosixThreads&gt;]::idAsUint64
:relfileprefix: ../../../
:mrdocs:

Return the unique integral identifier of a thread uniquely identified by the specified `threadId` within the current process&period; Note that this representation is particularly useful for logging purposes&period; Also note that this value is only valid until the thread terminates and may be reused thereafter&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;threadutilimpl&lowbar;pthread&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64]
idAsUint64(xref:BloombergLP/bslmt/ThreadUtilImpl-04/Id.adoc[Id] const& threadId);
----


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