aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/miscfuncs.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2020-04-07 13:43:17 +0200
committerCorinna Vinschen <corinna@vinschen.de>2020-04-07 14:18:08 +0200
commite8ae404440c7e8e2313b54c8de23831a12b87913 (patch)
tree99c8796e5c6269718542af32f384f8cebbf13212 /winsup/cygwin/miscfuncs.cc
parentaa4d9603069503207e399b6240d12b46a8df6414 (diff)
downloadnewlib-e8ae404440c7e8e2313b54c8de23831a12b87913.zip
newlib-e8ae404440c7e8e2313b54c8de23831a12b87913.tar.gz
newlib-e8ae404440c7e8e2313b54c8de23831a12b87913.tar.bz2
Cygwin: threads: lower thread size from pool to 256 Megs
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/miscfuncs.cc')
-rw-r--r--winsup/cygwin/miscfuncs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc
index e1eb5e8..deb648e 100644
--- a/winsup/cygwin/miscfuncs.cc
+++ b/winsup/cygwin/miscfuncs.cc
@@ -502,7 +502,7 @@ pthread_wrapper (PVOID arg)
/* We provide the stacks always in 1 Megabyte slots */
#define THREAD_STACK_SLOT 0x100000L /* 1 Meg */
/* Maximum stack size returned from the pool. */
-#define THREAD_STACK_MAX 0x20000000L /* 512 Megs */
+#define THREAD_STACK_MAX 0x10000000L /* 256 Megs */
class thread_allocator
{