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

Return an integral identifier of the current thread used by the operating system&period; Note that kernel thread ID is different from the user&hyphen;space thread ID returned by `selfIdAsUint64()`&period; 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]
selfKernelIdAsUint64();
----


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