aboutsummaryrefslogtreecommitdiffstats
path: root/include/pthread.h
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2005-04-11 03:47:42 +0000
committerDavid Xu <davidxu@FreeBSD.org>2005-04-11 03:47:42 +0000
commit213a268eec7f564c404898fe32ecc9c0c2b1104c (patch)
tree962a2441549b573b39876e7e4492d996fff67f76 /include/pthread.h
parentf297a20e30c4a680e1832409eca697033c69005a (diff)
downloadsrc-213a268eec7f564c404898fe32ecc9c0c2b1104c.tar.gz
src-213a268eec7f564c404898fe32ecc9c0c2b1104c.zip
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 <flashdict at gmail dot com>, BSD-sharp project.
Notes
Notes: svn path=/head/; revision=144892
Diffstat (limited to 'include/pthread.h')
-rw-r--r--include/pthread.h2
1 files changed, 1 insertions, 1 deletions
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