summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/posix/headers/pthread.h2
-rw-r--r--c/src/exec/posix/include/rtems/posix/pthread.h2
-rw-r--r--cpukit/posix/include/rtems/posix/pthread.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/c/src/exec/posix/headers/pthread.h b/c/src/exec/posix/headers/pthread.h
index 2f1476ac2d..7a46edea9f 100644
--- a/c/src/exec/posix/headers/pthread.h
+++ b/c/src/exec/posix/headers/pthread.h
@@ -24,6 +24,8 @@ extern "C" {
#include <rtems/posix/config.h>
#include <rtems/posix/threadsup.h>
+#define PTHREAD_MINIMUM_STACK_SIZE (STACK_MINIMUM_SIZE * 2)
+
/*
* The following defines the information control block used to manage
* this class of objects.
diff --git a/c/src/exec/posix/include/rtems/posix/pthread.h b/c/src/exec/posix/include/rtems/posix/pthread.h
index 2f1476ac2d..7a46edea9f 100644
--- a/c/src/exec/posix/include/rtems/posix/pthread.h
+++ b/c/src/exec/posix/include/rtems/posix/pthread.h
@@ -24,6 +24,8 @@ extern "C" {
#include <rtems/posix/config.h>
#include <rtems/posix/threadsup.h>
+#define PTHREAD_MINIMUM_STACK_SIZE (STACK_MINIMUM_SIZE * 2)
+
/*
* The following defines the information control block used to manage
* this class of objects.
diff --git a/cpukit/posix/include/rtems/posix/pthread.h b/cpukit/posix/include/rtems/posix/pthread.h
index 2f1476ac2d..7a46edea9f 100644
--- a/cpukit/posix/include/rtems/posix/pthread.h
+++ b/cpukit/posix/include/rtems/posix/pthread.h
@@ -24,6 +24,8 @@ extern "C" {
#include <rtems/posix/config.h>
#include <rtems/posix/threadsup.h>
+#define PTHREAD_MINIMUM_STACK_SIZE (STACK_MINIMUM_SIZE * 2)
+
/*
* The following defines the information control block used to manage
* this class of objects.