forked from Imagelibrary/rtems
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/threadinitialize.c: _Stack_Ensure_minimum was being called here and in _Thread_Stack_Allocate.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* score/src/threadinitialize.c: _Stack_Ensure_minimum was being called
|
||||
here and in _Thread_Stack_Allocate.
|
||||
|
||||
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libcsupport/include/rtems/libio_.h, libcsupport/src/libio_sockets.c,
|
||||
|
||||
@@ -78,9 +78,7 @@ bool _Thread_Initialize(
|
||||
|
||||
if ( !stack_area ) {
|
||||
|
||||
actual_stack_size = _Stack_Ensure_minimum( stack_size );
|
||||
|
||||
actual_stack_size = _Thread_Stack_Allocate( the_thread, actual_stack_size );
|
||||
actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
|
||||
|
||||
if ( !actual_stack_size || actual_stack_size < stack_size )
|
||||
return FALSE; /* stack allocation failed */
|
||||
|
||||
Reference in New Issue
Block a user