[#BloombergLP-bslmt-Configuration-setDefaultThreadStackSize] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/Configuration.adoc[Configuration]::setDefaultThreadStackSize :relfileprefix: ../../../ :mrdocs: Set the default thread stack size to the specified `numBytes`. If a minimum thread stack size is known for the underlying platform (i.e. `PTHREAD_STACK_MIN` is defined) and `numBytes` is below that minimum, the stack size will be that minimum. The behavior is undefined unless `0 <= numBytes`. == Synopsis Declared in `<bslmt_configuration.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void setDefaultThreadStackSize(int numBytes); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#