[#BloombergLP-bslmt-ThreadAttributes-2constructor-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadAttributes.adoc[ThreadAttributes]::ThreadAttributes
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create a `ThreadAttributes` object having the default attribute values&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslmt/ThreadAttributes/2constructor-06.adoc[ThreadAttributes]();
----

[.small]#xref:BloombergLP/bslmt/ThreadAttributes/2constructor-06.adoc[_» more&period;&period;&period;_]#

Same as the default constructor, using the specified `basicAllocator`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bslmt/ThreadAttributes/2constructor-0e.adoc[ThreadAttributes](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator);
----

[.small]#xref:BloombergLP/bslmt/ThreadAttributes/2constructor-0e.adoc[_» more&period;&period;&period;_]#

Create a `ThreadAttributes` object having the same value as the specified `original` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslmt/ThreadAttributes/2constructor-0c.adoc[ThreadAttributes](
    xref:BloombergLP/bslmt/ThreadAttributes.adoc[ThreadAttributes] const& original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bslmt/ThreadAttributes/2constructor-0c.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| memory allocator&semi; null uses the default
| *original*
| object whose value is copied
|===


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