Changeset 5250ff39 in rtems for c/src/lib/libmisc
- Timestamp:
- 08/23/95 21:06:31 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 7f6a24ab
- Parents:
- 3235ad9
- Location:
- c/src/lib/libmisc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libmisc/monitor/mon-object.c
r3235ad9 r5250ff39 61 61 }, 62 62 { RTEMS_OBJECT_TASK, 63 (void *) &_ Thread_Information,63 (void *) &_RTEMS_tasks_Information, 64 64 sizeof(rtems_monitor_task_t), 65 65 (rtems_monitor_object_next_fn) rtems_monitor_manager_next, -
c/src/lib/libmisc/stackchk/check.c
r3235ad9 r5250ff39 416 416 void Stack_check_Dump_usage( void ) 417 417 { 418 unsigned32 i; 419 Thread_Control *the_thread; 420 unsigned32 hit_running = 0; 418 unsigned32 i; 419 unsigned32 class_index; 420 Thread_Control *the_thread; 421 unsigned32 hit_running = 0; 422 Objects_Information *information; 421 423 422 424 if (stack_check_initialized == 0) … … 426 428 " ID NAME LOW HIGH AVAILABLE USED\n" 427 429 ); 428 for ( i=1 ; i<_Thread_Information.maximum ; i++ ) { 429 the_thread = (Thread_Control *)_Thread_Information.local_table[ i ]; 430 Stack_check_Dump_threads_usage( the_thread ); 431 if ( the_thread == _Thread_Executing ) 432 hit_running = 1; 430 431 for ( class_index = OBJECTS_CLASSES_FIRST ; 432 class_index <= OBJECTS_CLASSES_LAST ; 433 class_index++ ) { 434 information = _Objects_Information_table[ class_index ]; 435 if ( information && information->is_thread ) { 436 for ( i=1 ; i < information->maximum ; i++ ) { 437 the_thread = (Thread_Control *)information->local_table[ i ]; 438 Stack_check_Dump_threads_usage( the_thread ); 439 if ( the_thread == _Thread_Executing ) 440 hit_running = 1; 441 } 442 } 433 443 } 434 444
Note: See TracChangeset
for help on using the changeset viewer.