diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2017-08-23 19:03:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-23 19:03:16 +0200 |
commit | 5f2d1ec0e50a3aceddcc75172021cea10677b354 (patch) | |
tree | 0539e86034ebb950ac357a7f6ab97f9dfc5496e7 /src/pal/src/include | |
parent | 8abfe25cbd02e07361301e0a5cadb6716b3c0cde (diff) | |
download | coreclr-5f2d1ec0e50a3aceddcc75172021cea10677b354.tar.gz coreclr-5f2d1ec0e50a3aceddcc75172021cea10677b354.tar.bz2 coreclr-5f2d1ec0e50a3aceddcc75172021cea10677b354.zip |
Enable overriding default stack size on Unix (#13517)
Alpine Linux has a very small default stack size limit, about 80kB.
This is not enough for running coreclr apps.
This change enables overriding the default stack size using the
COMPlus_DefaultStackSize env variable. For Alpine, it also sets
the default stack size to the same value we use for Windows, which
is 1.5MB.
Diffstat (limited to 'src/pal/src/include')
-rw-r--r-- | src/pal/src/include/pal/init.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pal/src/include/pal/init.h b/src/pal/src/include/pal/init.h index d478ed275b..0f4c672b97 100644 --- a/src/pal/src/include/pal/init.h +++ b/src/pal/src/include/pal/init.h @@ -39,6 +39,8 @@ void PALCommonCleanup(); extern Volatile<INT> init_count; +extern SIZE_T g_defaultStackSize; + /*++ MACRO: PALIsInitialized |