summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smp03/system.h
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2011-07-29 18:14:49 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2011-07-29 18:14:49 +0000
commit5c28345815a4039eb5a2ba933573e761a8ff03ee (patch)
tree3befc7bf2904d0dbcc9f3694cfeb413f49a2fd42 /testsuites/smptests/smp03/system.h
parent2011-07-29 Ricardo Aguirre <el.mastin@ymail.com> (diff)
downloadrtems-5c28345815a4039eb5a2ba933573e761a8ff03ee.tar.bz2
2011-07-29 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* smp03/init.c, smp03/system.h, smp03/tasks.c: Modified test to force a task to run prior to starting the next task. This allows the last task to always preempt, where if the tasks started in an odd order the last task could run prior the the task it was supposed to preempt.
Diffstat (limited to 'testsuites/smptests/smp03/system.h')
-rw-r--r--testsuites/smptests/smp03/system.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuites/smptests/smp03/system.h b/testsuites/smptests/smp03/system.h
index 1161d74b8d..ea38614365 100644
--- a/testsuites/smptests/smp03/system.h
+++ b/testsuites/smptests/smp03/system.h
@@ -50,6 +50,12 @@ rtems_task Test_task(
/*
* Keep the names and IDs in global variables so another task can use them.
*/
+
+TEST_EXTERN volatile bool TaskRan[ CONFIGURE_SMP_MAXIMUM_PROCESSORS + 1 ];
+
+/*
+ * Keep the names and IDs in global variables so another task can use them.
+ */
void Loop(void);
void PrintTaskInfo(
const char *task_name