summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpmrsp01/smpmrsp01.scn
diff options
context:
space:
mode:
authorLuca Bonato <lohathe@gmail.com>2014-11-21 11:01:34 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-24 08:01:15 +0100
commitcceb19f4e50d7b52e02b39141a433cab75b90423 (patch)
treee10c484498d70192ebb9dd101459750eeb9e9c1d /testsuites/smptests/smpmrsp01/smpmrsp01.scn
parenttermio05: Remove unreferenced files (diff)
downloadrtems-cceb19f4e50d7b52e02b39141a433cab75b90423.tar.bz2
smp: Fix scheduler helping protocol
New test case for smptests/smpmrsp01. Fix _Scheduler_Block_node() in case the node is in the SCHEDULER_HELP_ACTIVE_RIVAL helping state. For example a rtems_task_suspend() on a task waiting for a MrsP semaphore. Fix _Scheduler_Unblock_node() in case the node is in the SCHEDULER_SMP_NODE_READY state. For example a rtems_task_resume() on a task owning or waiting for a MrsP semaphore.
Diffstat (limited to '')
-rw-r--r--testsuites/smptests/smpmrsp01/smpmrsp01.scn1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuites/smptests/smpmrsp01/smpmrsp01.scn b/testsuites/smptests/smpmrsp01/smpmrsp01.scn
index 3315db174b..a32d71f402 100644
--- a/testsuites/smptests/smpmrsp01/smpmrsp01.scn
+++ b/testsuites/smptests/smpmrsp01/smpmrsp01.scn
@@ -5,6 +5,7 @@ test MrsP nested obtain error
test MrsP unlock order error
test MrsP deadlock error
test MrsP multiple obtain
+test MrsP unblock ready
test MrsP obtain and sleep and release
[0] MAIN -> RUN (prio 2, node RUN)
[0] RUN -> MAIN (prio 1, node MAIN)