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.
This commit is contained in:
Joel Sherrill
2010-11-16 19:14:35 +00:00
parent ca4fb8f12d
commit c47008da0a
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
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

View File

@@ -654,7 +654,8 @@ posix_initialization_threads_table POSIX_Initialization_threads[] = {
#define CONFIGURE_MEMORY_PER_TASK_FOR_POSIX_API \
( \
sizeof (POSIX_API_Control) + \
(sizeof (void *) * (CONFIGURE_GNAT_KEYS + CONFIGURE_MAXIMUM_POSIX_KEYS)) \
CONFIGURE_MINIMUM_TASK_STACK_SIZE + \
(sizeof (void *) * (CONFIGURE_GNAT_KEYS + CONFIGURE_MAXIMUM_POSIX_KEYS)) \
)
#define CONFIGURE_MEMORY_FOR_POSIX_MUTEXES(_mutexes) \