[#BloombergLP-bslmt-ThreadAttributes-threadName]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadAttributes.adoc[ThreadAttributes]::threadName
:relfileprefix: ../../../
:mrdocs:

Return the `threadName` attribute of this object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef]
threadName() const;
----

== Description

Note that the returned string reference will be invalidated if `setThreadName` is subsequently called on this object&period;

== Return Value

the `threadName` attribute of this object


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