From: GNU Libc Maintainers Date: Fri, 9 Mar 2018 20:48:04 +0000 (+0000) Subject: local-libpthread-stacksize X-Git-Tag: archive/raspbian/2.27-2+rpi1^2~83 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8d91608086feb999fbf8843e459d3cb9d243c96c;p=glibc.git 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 --- 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; \