summaryrefslogblamecommitdiffstats
path: root/schedsim/shell/schedsim_smpsimple/scenarios/cpus1_resume_on_primary.scen
blob: d2df3a89db4561c1c6efc1b02a63a9f3505b9399 (plain) (tree)





















                                                      
#
#  Check suspending self, then resuming on primary CPU
#
rtems_init 1
task_create smp1 5
dispatch
# GOAL: 0x0a010001 is heir and executing on CPU 0
cpus
# suspend running task
task_suspend smp1
# GOAL: 0x09010001 is heir and executing on CPU 0
cpus
dispatch
# GOAL: 0x09010001 is heir and executing on CPU 0
cpus
# resume suspended task
task_resume smp1
# GOAL: 0x0a010001 is heir and executing on CPU 0
cpus
dispatch
# GOAL: 0x0a010001 is heir and executing on CPU 0
cpus