summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smp04/smp04.doc
blob: 7b1e7afb2af5b11e613d9e8ef37d3ffb7451ff4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
#  $Id$
#
#  COPYRIGHT (c) 1989-2011.
#  On-Line Applications Research Corporation (OAR).
#
#  The license and distribution terms for this file may be
#  found in the file LICENSE in this distribution or at
#  http://www.rtems.com/license/LICENSE.
#
This test startst Init task with priority 5 and preemption on which
runs on CPU 0.  The init task alternates preemption off and preemtion
on as it creates tasks for every other cpu in the system.  The priority
of task N will be 5 + 2; task N-1 will be 5 + 4 .....
Another task will be created after tasks are running on all cpus.  This
task will be of a priority 3.  For a 4 cpu system this task should run
on cpu 2.  For a 2 cpu system the task should preempt the Init task.