[#BloombergLP-bslmt-ThreadAttributes-stackSize] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadAttributes.adoc[ThreadAttributes]::stackSize :relfileprefix: ../../../ :mrdocs: Return the value of the `stackSize` attribute of this object. If `stackSize` is `e_UNSET_STACK_SIZE`, thread creation should use the default stack size value provided by `bslmt_configuration`. == Synopsis Declared in `<bslmt_threadattributes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int stackSize() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#