From 7f6a24abdd1793e394e4d5d49de1f4ca0e00297a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 28 Aug 1995 15:30:29 +0000 Subject: Added unused priority ceiling parameter to rtems_semaphore_create. Rearranged code to created thread handler routines to initialize, start, restart, and "close/delete" a thread. Made internal threads their own object class. This now uses the thread support routines for starting and initializing a thread. Insured deleted tasks are freed to the Inactive pool associated with the correct Information block. Added an RTEMS API specific data area to the thread control block. Beginnings of removing the word "rtems" from the core. --- c/src/libmisc/stackchk/check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/libmisc/stackchk') diff --git a/c/src/libmisc/stackchk/check.c b/c/src/libmisc/stackchk/check.c index 1d30bc813e..f9f32c5204 100644 --- a/c/src/libmisc/stackchk/check.c +++ b/c/src/libmisc/stackchk/check.c @@ -433,7 +433,7 @@ void Stack_check_Dump_usage( void ) class_index++ ) { information = _Objects_Information_table[ class_index ]; if ( information && information->is_thread ) { - for ( i=1 ; i < information->maximum ; i++ ) { + for ( i=1 ; i <= information->maximum ; i++ ) { the_thread = (Thread_Control *)information->local_table[ i ]; Stack_check_Dump_threads_usage( the_thread ); if ( the_thread == _Thread_Executing ) -- cgit v1.2.3