diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-09-29 14:51:16 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-09-29 14:51:16 +0000 |
commit | cf42c54cfa3499b73571d174dfe76c8397750946 (patch) | |
tree | f0f4609281497f50b766aecb4d904e9a901132e6 /testsuites/sptests/sp20/init.c | |
parent | 2000-09-29 Stephan Merker <merker@decrc.abb.de> (diff) | |
download | rtems-cf42c54cfa3499b73571d174dfe76c8397750946.tar.bz2 |
2000-09-29 Stephan Merker <merker@decrc.abb.de>
* sp20/getall.c, sp20/init.c, sp20/system.h, sp20/task1.c:
Added new task to test sequence of altering a period's length
while it is still active.
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/sp20/init.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuites/sptests/sp20/init.c b/testsuites/sptests/sp20/init.c index 5b70c7f927..9984af0c67 100644 --- a/testsuites/sptests/sp20/init.c +++ b/testsuites/sptests/sp20/init.c @@ -38,8 +38,9 @@ rtems_task Init( Task_name[ 3 ] = rtems_build_name( 'T', 'A', '3', ' ' ); Task_name[ 4 ] = rtems_build_name( 'T', 'A', '4', ' ' ); Task_name[ 5 ] = rtems_build_name( 'T', 'A', '5', ' ' ); + Task_name[ 6 ] = rtems_build_name( 'T', 'A', '6', ' ' ); - for ( index = 1 ; index <= 5 ; index++ ) { + for ( index = 1 ; index <= 6 ; index++ ) { status = rtems_task_create( Task_name[ index ], Priorities[ index ], @@ -51,8 +52,8 @@ rtems_task Init( directive_failed( status, "rtems_task_create loop" ); } - for ( index = 1 ; index <= 5 ; index++ ) { - status = rtems_task_start( Task_id[ index ], Task_1_through_5, index ); + for ( index = 1 ; index <= 6 ; index++ ) { + status = rtems_task_start( Task_id[ index ], Task_1_through_6, index ); directive_failed( status, "rtems_task_start loop" ); } @@ -61,6 +62,7 @@ rtems_task Init( Count.count[ 3 ] = 0; Count.count[ 4 ] = 0; Count.count[ 5 ] = 0; + Count.count[ 6 ] = 0; status = rtems_task_delete( RTEMS_SELF ); directive_failed( status, "rtems_task_delete of RTEMS_SELF" ); |