[#BloombergLP-bslmt-Configuration-recommendedDefaultThreadStackSize]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/Configuration.adoc[Configuration]::recommendedDefaultThreadStackSize
:relfileprefix: ../../../
:mrdocs:

Return a platform&hyphen;independent recommended default thread stack size&period;

== Synopsis

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

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

== Description

Return a &quot;reasonable&quot; value for the default thread stack size (in bytes), which, unlike `nativeDefaultThreadStackSize`, is constant across all platforms of a given word size&period; This value is large enough to guarantee that an automatic array of at least 250 &ast; 1024 pointers may be declared in the top level routine of the thread&period;

== Return Value

platform&hyphen;independent recommended default thread stack size in bytes


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