BloombergLP::bslmt::Configuration::recommendedDefaultThreadStackSize

Return a "reasonable" value for the default thread stack size (in bytes), which, unlike nativeDefaultThreadStackSize, is constant across all platforms of a given word size. This value is large enough to guarantee that an automatic array of at least 250 * 1024 pointers may be declared in the top level routine of the thread.

Synopsis

Declared in <bslmt_configuration.h>

static
int
recommendedDefaultThreadStackSize();