Changeset c7744ee0 in rtems
- Timestamp:
- 02/18/98 19:34:51 (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 7324989
- Parents:
- bf4cdb70
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/src/thread.c
rbf4cdb70 rc7744ee0 438 438 439 439 440 if ( !stack ) {440 if ( !stack_area ) { 441 441 if ( !_Stack_Is_enough( stack_size ) ) 442 442 actual_stack_size = STACK_MINIMUM_SIZE; … … 444 444 actual_stack_size = stack_size; 445 445 446 actual_stack_size = _Stack_Adjust_size( actual_stack_size ); 447 stack = stack_area; 448 449 actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size ); 446 actual_stack_size = _Thread_Stack_Allocate( the_thread, actual_stack_size ); 450 447 451 448 if ( !actual_stack_size ) … … 453 450 454 451 stack = the_thread->Start.stack; 455 456 452 the_thread->Start.core_allocated_stack = TRUE; 457 453 } else { -
cpukit/score/src/thread.c
rbf4cdb70 rc7744ee0 438 438 439 439 440 if ( !stack ) {440 if ( !stack_area ) { 441 441 if ( !_Stack_Is_enough( stack_size ) ) 442 442 actual_stack_size = STACK_MINIMUM_SIZE; … … 444 444 actual_stack_size = stack_size; 445 445 446 actual_stack_size = _Stack_Adjust_size( actual_stack_size ); 447 stack = stack_area; 448 449 actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size ); 446 actual_stack_size = _Thread_Stack_Allocate( the_thread, actual_stack_size ); 450 447 451 448 if ( !actual_stack_size ) … … 453 450 454 451 stack = the_thread->Start.stack; 455 456 452 the_thread->Start.core_allocated_stack = TRUE; 457 453 } else {
Note: See TracChangeset
for help on using the changeset viewer.