From 0f88857a3a0793cb494a40cc61954e2f01ef0ef8 Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Mon, 15 Nov 1999 21:19:58 +0000 Subject: + 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. --- c/src/tests/itrontests/itrontask02/system.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'c/src/tests/itrontests/itrontask02/system.h') diff --git a/c/src/tests/itrontests/itrontask02/system.h b/c/src/tests/itrontests/itrontask02/system.h index daad15c340..f9358a9517 100644 --- a/c/src/tests/itrontests/itrontask02/system.h +++ b/c/src/tests/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 */ -- cgit v1.2.3