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

Create a `ThreadAttributes` object having the (default) attribute values&colon; &ast; `detachedState() &equals;&equals; e&lowbar;CREATE&lowbar;JOINABLE` &ast; `guardSize() &equals;&equals; e&lowbar;UNSET&lowbar;GUARD&lowbar;SIZE` &ast; `inheritSchedule() &equals;&equals; true` &ast; `schedulingPolicy() &equals;&equals; e&lowbar;SCHED&lowbar;DEFAULT` &ast; `schedulingPriority() &equals;&equals; e&lowbar;UNSET&lowbar;PRIORITY` &ast; `stackSize() &equals;&equals; e&lowbar;UNSET&lowbar;STACK&lowbar;SIZE` &ast; `threadName() &equals;&equals; &quot;&quot;` Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
ThreadAttributes();
----


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