GNU libgomp: GOMP_STACKSIZE

Next: GOMP_SPINCOUNT, Previous: GOMP_DEBUG, Up: Environment Variables [Contents][Index]

### 3.17 `GOMP_STACKSIZE` – Set default thread stack size

Description:

  Set the default thread stack size in kilobytes. This is different from `pthread_attr_setstacksize` which gets the number of bytes as an argument. If the stack size cannot be set due to system constraints, an error is reported and the initial stack size is left unchanged. If undefined, the stack size is system dependent.

See also:

  OMP_STACKSIZE

Reference:

  GCC Patches Mailinglist, GCC Patches Mailinglist