diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1999-11-15 21:19:58 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 1999-11-15 21:19:58 +0000 |
commit | 0f88857a3a0793cb494a40cc61954e2f01ef0ef8 (patch) | |
tree | 5f0078a5e83cd304ebd5b4930ea0b9817d34f4c3 /testsuites/itrontests/itrontask02/system.h | |
parent | Added paragraph describing SUSP. (diff) | |
download | rtems-0f88857a3a0793cb494a40cc61954e2f01ef0ef8.tar.bz2 |
+ Changed preempt routine into two dummy tasks one that is in dormant
state and one that is in non-dormant state.
+ Increased the priority of the Init task to force the dummy tasks to
run first.
+ Added calls to ref_tsk to verify the state of the dummy tasks and
test ref_tsk.
Diffstat (limited to '')
-rw-r--r-- | testsuites/itrontests/itrontask02/system.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/itrontests/itrontask02/system.h b/testsuites/itrontests/itrontask02/system.h index daad15c340..f9358a9517 100644 --- a/testsuites/itrontests/itrontask02/system.h +++ b/testsuites/itrontests/itrontask02/system.h @@ -20,7 +20,8 @@ /* functions */ void ITRON_Init( void ); -void Preempt_task(); +void Dormant_task(); +void Non_Dormant_task(); /* configuration information */ @@ -31,7 +32,8 @@ void Preempt_task(); /* global variables */ -#define PREEMPT_TASK_ID 2 +#define DORMANT_TASK_ID 2 +#define NON_DORMANT_TASK_ID 3 TEST_EXTERN rtems_id Global_variable; /* example global variable */ |