[#BloombergLP-bslmt-ThreadUtil-nativeHandle-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtil.adoc[ThreadUtil]::nativeHandle
:relfileprefix: ../../../
:mrdocs:

Return the platform&hyphen;specific native handle for the specified thread&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;threadutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslmt/ThreadUtil/NativeHandle-0a.adoc[ThreadUtil::NativeHandle]
nativeHandle(xref:BloombergLP/bslmt/ThreadUtil/Handle.adoc[Handle] const& handle);
----

== Description

Return the platform&hyphen;specific identifier associated with the thread referred to by the specified `handle`&period; The behavior is undefined unless `handle` was obtained by a call to `create` or `self`&period; Note that the returned native handle may not be a globally unique identifier for the thread (see `selfIdAsUint`)&period;

== Return Value

platform&hyphen;specific native handle for the thread

== Parameters

[cols="1,4"]
|===
| Name| Description
| *handle*
| thread whose native handle is returned
|===


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