Ada task stack size minimize is twice that for regular pthreads.

This commit is contained in:
Joel Sherrill
1996-09-08 16:21:48 +00:00
parent ed5a518d09
commit e7a36a98b1
2 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
#include <pthread.h>
#include <rtems/system.h>
#include <rtems/score/stack.h>
#include <rtems/posix/pthread.h>
/*PAGE
*
@@ -24,5 +24,5 @@ size_t _ada_pthread_minimum_stack_size( void )
* but for now, this will do.
*/
return STACK_MINIMUM_SIZE;
return PTHREAD_MINIMUM_STACK_SIZE * 2;
}

View File

@@ -7,7 +7,7 @@
#include <pthread.h>
#include <rtems/system.h>
#include <rtems/score/stack.h>
#include <rtems/posix/pthread.h>
/*PAGE
*
@@ -24,5 +24,5 @@ size_t _ada_pthread_minimum_stack_size( void )
* but for now, this will do.
*/
return STACK_MINIMUM_SIZE;
return PTHREAD_MINIMUM_STACK_SIZE * 2;
}