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.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user