summaryrefslogtreecommitdiffstats
path: root/schedsim/shell/schedsim_priority/scenarios/script05.expected
diff options
context:
space:
mode:
Diffstat (limited to 'schedsim/shell/schedsim_priority/scenarios/script05.expected')
-rw-r--r--schedsim/shell/schedsim_priority/scenarios/script05.expected45
1 files changed, 45 insertions, 0 deletions
diff --git a/schedsim/shell/schedsim_priority/scenarios/script05.expected b/schedsim/shell/schedsim_priority/scenarios/script05.expected
new file mode 100644
index 0000000..f51de95
--- /dev/null
+++ b/schedsim/shell/schedsim_priority/scenarios/script05.expected
@@ -0,0 +1,45 @@
+*** TEST 05 ***
+ Thread Heir: 0x09010001 priority=255
+ Thread Executing: 0x09010001 priority=255
+Create 0x0a010001
+Creating task with: Preemption: yes Timeslicing: no
+Task (TA1) created: id=0x0a010001, priority=1
+Task (TA1) starting: id=0x0a010001, priority=1
+ Thread Heir: 0x0a010001 priority=1
+ Thread Executing: 0x0a010001 priority=1
+Creating task with: Preemption: yes Timeslicing: no
+Task (TA2) created: id=0x0a010002, priority=2
+Task (TA2) starting: id=0x0a010002, priority=2
+Creating task with: Preemption: yes Timeslicing: no
+Task (TA3) created: id=0x0a010003, priority=3
+Task (TA3) starting: id=0x0a010003, priority=3
+Semaphore (SEM1) created: id=0x1a010001
+Obtain semaphore (0x1a010001) with timeout 0
+ Thread Heir: 0x0a010002 priority=2
+ Thread Executing: 0x0a010002 priority=2
+Obtain semaphore (0x1a010001) with timeout 0
+ Thread Heir: 0x0a010003 priority=3
+ Thread Executing: 0x0a010003 priority=3
+Obtain semaphore (0x1a010001) with timeout 0
+ Thread Heir: 0x09010001 priority=255
+ Thread Executing: 0x09010001 priority=255
+Flushing semaphore (0x1a010001)
+ Thread Heir: 0x0a010001 priority=1
+ Thread Executing: 0x0a010001 priority=1
+*** Now back to TA1 to do it differently
+Obtain semaphore (0x1a010001) with timeout 0
+ Thread Heir: 0x0a010002 priority=2
+ Thread Executing: 0x0a010002 priority=2
+Obtain semaphore (0x1a010001) with timeout 0
+ Thread Heir: 0x0a010003 priority=3
+ Thread Executing: 0x0a010003 priority=3
+Releasing semaphore (0x1a010001)
+ Thread Heir: 0x0a010001 priority=1
+ Thread Executing: 0x0a010001 priority=1
+Obtain semaphore (0x1a010001) with timeout 0
+ Thread Heir: 0x0a010003 priority=3
+ Thread Executing: 0x0a010003 priority=3
+Deleting semaphore (0x1a010001)
+ Thread Heir: 0x0a010001 priority=1
+ Thread Executing: 0x0a010001 priority=1
+*** END OF TEST 05 ***