public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: threads: lower thread size from pool to 256 Megs
@ 2020-04-07 12:18 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2020-04-07 12:18 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=e8ae404440c7e8e2313b54c8de23831a12b87913

commit e8ae404440c7e8e2313b54c8de23831a12b87913
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Tue Apr 7 13:43:17 2020 +0200

    Cygwin: threads: lower thread size from pool to 256 Megs
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/miscfuncs.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc
index e1eb5e8e2..deb648eff 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
 {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-07 12:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-07 12:18 [newlib-cygwin] Cygwin: threads: lower thread size from pool to 256 Megs Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).