[#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 `<bslmt_threadattributes.h>` Create a `ThreadAttributes` object having the default attribute values. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslmt/ThreadAttributes/2constructor-06.adoc[ThreadAttributes](); ---- [.small]#xref:BloombergLP/bslmt/ThreadAttributes/2constructor-06.adoc[_» more..._]# Same as the default constructor, using the specified `basicAllocator`. [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..._]# Create a `ThreadAttributes` object having the same value as the specified `original` object. [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..._]# == Parameters [cols="1,4"] |=== | Name| Description | *basicAllocator* | memory allocator; null uses the default | *original* | object whose value is copied |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#