[#BloombergLP-bslmt-ThreadUtil-getThreadName] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadUtil.adoc[ThreadUtil]::getThreadName :relfileprefix: ../../../ :mrdocs: Load the name of the current thread into the specified `*threadName`. Note that this method clears `*threadName` on platforms other than Linux, Solaris, Darwin, and Windows. == Synopsis Declared in `<bslmt_threadutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void getThreadName(xref:bsl/string.adoc[bsl::string]* threadName); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#