summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 19:14:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 19:14:29 +0000
commit9d2c281e2e8f75acdf603aad79a9ae2fa82123c6 (patch)
treeebc81e5e3b1f12e71afac34d5be661a5a84bcdb7
parent2010-11-16 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-9d2c281e2e8f75acdf603aad79a9ae2fa82123c6.tar.bz2
2010-11-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1718/cpukit * sapi/include/confdefs.h: POSIX threads are allocated twice the minimum stack space by default. confdefs.h only accounts for one minimum -- not the 2x factor.
-rw-r--r--cpukit/ChangeLog7
-rw-r--r--cpukit/sapi/include/confdefs.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index b72c7ce290..18102e9544 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,12 @@
2010-11-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
+ PR 1718/cpukit
+ * sapi/include/confdefs.h: POSIX threads are allocated twice the
+ minimum stack space by default. confdefs.h only accounts for one
+ minimum -- not the 2x factor.
+
+2010-11-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
PR 1717/cpukit
* libcsupport/src/gxx_wrappers.c: Free memory on error.
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 87e0cb2bc1..f21aff1c5b 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -938,6 +938,7 @@ extern rtems_configuration_table Configuration;
#define CONFIGURE_MEMORY_PER_TASK_FOR_POSIX_API \
_Configure_From_workspace( \
+ CONFIGURE_MINIMUM_TASK_STACK_SIZE + \
sizeof (POSIX_API_Control) + \
(sizeof (void *) * (CONFIGURE_MAXIMUM_POSIX_KEYS)) \
)