From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 24E18385BF83; Tue, 7 Apr 2020 12:18:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 24E18385BF83 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: threads: lower thread size from pool to 256 Megs X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: aa4d9603069503207e399b6240d12b46a8df6414 X-Git-Newrev: e8ae404440c7e8e2313b54c8de23831a12b87913 Message-Id: <20200407121828.24E18385BF83@sourceware.org> Date: Tue, 7 Apr 2020 12:18:28 +0000 (GMT) X-BeenThere: cygwin-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2020 12:18:28 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=e8ae404440c7e8e2313b54c8de23831a12b87913 commit e8ae404440c7e8e2313b54c8de23831a12b87913 Author: Corinna Vinschen Date: Tue Apr 7 13:43:17 2020 +0200 Cygwin: threads: lower thread size from pool to 256 Megs Signed-off-by: Corinna Vinschen 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 {