From 213a268eec7f564c404898fe32ecc9c0c2b1104c Mon Sep 17 00:00:00 2001 From: David Xu Date: Mon, 11 Apr 2005 03:47:42 +0000 Subject: [PATCH] Increase PTHREAD_STACK_MIN to MINSIGSTKSZ because thread libraries now use makecontext which enforces a minimum stack size to be MINSIGSTKSZ. Bug report: Bill Middleton , BSD-sharp project. --- include/pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pthread.h b/include/pthread.h index 0f3b93fc72af..5da75ca4fad3 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -50,7 +50,7 @@ */ #define PTHREAD_DESTRUCTOR_ITERATIONS 4 #define PTHREAD_KEYS_MAX 256 -#define PTHREAD_STACK_MIN 1024 +#define PTHREAD_STACK_MIN MINSIGSTKSZ #define PTHREAD_THREADS_MAX ULONG_MAX #define PTHREAD_BARRIER_SERIAL_THREAD -1