From 8d91608086feb999fbf8843e459d3cb9d243c96c Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Fri, 9 Mar 2018 20:48:04 +0000 Subject: [PATCH] local-libpthread-stacksize Set the default stack size to 8MiB like on Linux, to avoid surprises with packages which assume the Linuxish default. Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name local-libpthread-stacksize.diff --- libpthread/sysdeps/mach/hurd/pt-sysdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpthread/sysdeps/mach/hurd/pt-sysdep.h b/libpthread/sysdeps/mach/hurd/pt-sysdep.h index 35912a357..e5829978d 100644 --- a/libpthread/sysdeps/mach/hurd/pt-sysdep.h +++ b/libpthread/sysdeps/mach/hurd/pt-sysdep.h @@ -26,7 +26,7 @@ #define _POSIX_THREAD_THREADS_MAX 64 /* The default stack size. */ -#define PTHREAD_STACK_DEFAULT (2 * 1024 * 1024) +#define PTHREAD_STACK_DEFAULT (8 * 1024 * 1024) #define PTHREAD_SYSDEP_MEMBERS \ thread_t kernel_thread; \ -- 2.30.2