BloombergLP::bslmt::ThreadAttributes::setStackSize

Set the stackSize attribute of this object to the specified value. 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.

Synopsis

Declared in <bslmt_threadattributes.h>

ThreadAttributes&
setStackSize(int value);