Set the stackSize attribute of this object to the specified value.

Synopsis

Declared in <bslmt_threadattributes.h>

ThreadAttributes&
setStackSize(int value);

Description

Return a non‐`const` reference to this object (see also {Fluent Interface}). If stackSize is e_UNSET_STACK_SIZE, thread creation should use the default stack size value provided by bslmt_configuration. The behavior is undefined unless e_UNSET_STACK_SIZE == stackSize or 0 <= stackSize.

Return Value

a non‐`const` reference to this object

Parameters

Name

Description

value

stack size in bytes, or e_UNSET_STACK_SIZE

Created with MrDocs