Namespace for utilities that manage default bslmt configuration values.

Synopsis

Declared in <bslmt_configuration.h>

struct Configuration;

Description

This struct provides a namespace for a suite of functions that are used to manage the configuration of default values used in bslmt. Specifically, these functions manage the default value of thread stack size and provide access to the platform's native guard size, but may be extended to govern more traits in the future.

Static Member Functions

Name

Description

defaultThreadStackSize

Return the configured default thread stack size in bytes.

nativeDefaultThreadGuardSize

Return the platform's default thread stack guard size in bytes.

nativeDefaultThreadStackSize

Return the platform's native default thread stack size in bytes.

recommendedDefaultThreadStackSize

Return a platform‐independent recommended default thread stack size.

setDefaultThreadStackSize

Set the default thread stack size to the specified numBytes.

Created with MrDocs