[#BloombergLP-bslmt-ThreadAttributes-setGuardSize] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThreadAttributes.adoc[ThreadAttributes]::setGuardSize :relfileprefix: ../../../ :mrdocs: Set the `guardSize` attribute of this object to the specified `value` (in bytes). Return a non‐`const` reference to this object (see also {Fluent Interface}). `e_UNSET_GUARD_SIZE == guardSize` is intended to indicate that the default value as defined by the platform is to be used. This default value is typically the size of one or two pages (see `bslmt_configuration`). The behavior is undefined unless `e_UNSET_GUARD_SIZE == guardSize` or `guardSize >= 0`. == Synopsis Declared in `<bslmt_threadattributes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslmt/ThreadAttributes.adoc[ThreadAttributes]& setGuardSize(int value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#