From 302b08db2a3aace98399f66013fd2b5c9f00f07f Mon Sep 17 00:00:00 2001 From: sisungo Date: Wed, 7 Oct 2026 13:34:29 +0000 Subject: [PATCH] feat: enlarge default stack size to 1M Signed-off-by: sisungo --- src/internal/pthread_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index e1098cc1..fe85f482 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -195,7 +195,7 @@ extern hidden volatile int __abort_lock[1]; extern hidden unsigned __default_stacksize; extern hidden unsigned __default_guardsize; -#define DEFAULT_STACK_SIZE 131072 +#define DEFAULT_STACK_SIZE (1<<20) #define DEFAULT_GUARD_SIZE 8192 #define DEFAULT_STACK_MAX (8<<20)