Set the guardSize attribute of this object to the specified value (in bytes).

Synopsis

Declared in <bslmt_threadattributes.h>

ThreadAttributes&
setGuardSize(int value);

Description

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.

Return Value

a non‐`const` reference to this object

Parameters

Name

Description

value

guard size in bytes, or e_UNSET_GUARD_SIZE

Created with MrDocs