]>
Commit | Line | Data |
---|---|---|
c63539ff ML |
1 | .. |
2 | Copyright 1988-2022 Free Software Foundation, Inc. | |
3 | This is part of the GCC manual. | |
4 | For copying conditions, see the copyright.rst file. | |
5 | ||
6 | .. index:: Environment Variable, Implementation specific setting | |
7 | ||
8 | .. _gomp_stacksize: | |
9 | ||
10 | GOMP_STACKSIZE -- Set default thread stack size | |
11 | *********************************************** | |
12 | ||
13 | Description: | |
14 | Set the default thread stack size in kilobytes. This is different from | |
15 | ``pthread_attr_setstacksize`` which gets the number of bytes as an | |
16 | argument. If the stack size cannot be set due to system constraints, an | |
17 | error is reported and the initial stack size is left unchanged. If undefined, | |
18 | the stack size is system dependent. | |
19 | ||
20 | See also: | |
21 | :ref:`OMP_STACKSIZE` | |
22 | ||
23 | Reference: | |
24 | `GCC Patches Mailinglist <https://gcc.gnu.org/ml/gcc-patches/2006-06/msg00493.html>`_, | |
3ed1b4ce | 25 | `GCC Patches Mailinglist (2) <https://gcc.gnu.org/ml/gcc-patches/2006-06/msg00496.html>`_ |