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

Set the `threadName` attribute of this object to the specified `value`&period; Return a non&hyphen;`const` reference to this object (see also &lcub;Fluent Interface&rcub;)&period;

== Synopsis

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

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

== Return Value

a non&hyphen;`const` reference to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| name assigned to created threads
|===


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