source:
rtems-schedsim/schedsim/shell/schedsim_smpsimple/scenarios/cpus1_resume_on_primary.scen
Last change on this file was 42888e1, checked in by Jennifer Averett <jennifer.averett@…>, on 06/03/14 at 12:25:24 | |
---|---|
|
|
File size: 473 bytes |
Rev | Line | |
---|---|---|
[f40778b] | 1 | # |
2 | # Check suspending self, then resuming on primary CPU | |
3 | # | |
4 | rtems_init 1 | |
5 | task_create smp1 5 | |
6 | # GOAL: 0x0a010001 is heir and executing on CPU 0 | |
[42888e1] | 7 | cpus smp1 |
[f40778b] | 8 | # suspend running task |
9 | task_suspend smp1 | |
10 | # GOAL: 0x09010001 is heir and executing on CPU 0 | |
[42888e1] | 11 | cpus IDLE |
[f40778b] | 12 | # GOAL: 0x09010001 is heir and executing on CPU 0 |
[42888e1] | 13 | cpus IDLE |
[f40778b] | 14 | # resume suspended task |
15 | task_resume smp1 | |
16 | # GOAL: 0x0a010001 is heir and executing on CPU 0 | |
[42888e1] | 17 | cpus smp1 |
[f40778b] | 18 | # GOAL: 0x0a010001 is heir and executing on CPU 0 |
[42888e1] | 19 | cpus smp1 |
Note: See TracBrowser
for help on using the repository browser.