[#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‐specific native handle for the specified thread. == Synopsis Declared in `<bslmt_threadutil.h>` [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‐specific identifier associated with the thread referred to by the specified `handle`. The behavior is undefined unless `handle` was obtained by a call to `create` or `self`. Note that the returned native handle may not be a globally unique identifier for the thread (see `selfIdAsUint`). == Return Value platform‐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]#