diff options
author | davidxu <davidxu@FreeBSD.org> | 2005-04-11 03:47:42 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2005-04-11 03:47:42 +0000 |
commit | 8d5bf26054b7fbc42bbdd9d4bd4783f024bfa398 (patch) | |
tree | 962a2441549b573b39876e7e4492d996fff67f76 /include | |
parent | 7558fa129d5ec41497b9af2853723a0548f2b0e6 (diff) | |
download | FreeBSD-src-8d5bf26054b7fbc42bbdd9d4bd4783f024bfa398.zip FreeBSD-src-8d5bf26054b7fbc42bbdd9d4bd4783f024bfa398.tar.gz |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/pthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pthread.h b/include/pthread.h index 0f3b93f..5da75ca 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 |