summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpfatal06/smpfatal06.doc
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-10 12:02:28 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-23 12:52:06 +0100
commit84e6f15c828869eb7d293096cfcfa0563b5752b3 (patch)
treeefafb1ab17f6d1a612f79b6ec8d821ad9123756c /testsuites/smptests/smpfatal06/smpfatal06.doc
parentsmptests/smplock01: Test TAS and TTAS locks (diff)
downloadrtems-84e6f15c828869eb7d293096cfcfa0563b5752b3.tar.bz2
score: Robust thread dispatch
On SMP configurations, it is a fatal error to call blocking operating system with interrupts disabled, since this prevents delivery of inter-processor interrupts. This could lead to executing threads which are not allowed to execute resulting in undefined behaviour. The ARM Cortex-M port has a similar problem, since the interrupt state is not a part of the thread context. Update #2811.
Diffstat (limited to 'testsuites/smptests/smpfatal06/smpfatal06.doc')
-rw-r--r--testsuites/smptests/smpfatal06/smpfatal06.doc13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuites/smptests/smpfatal06/smpfatal06.doc b/testsuites/smptests/smpfatal06/smpfatal06.doc
new file mode 100644
index 0000000000..57a6508625
--- /dev/null
+++ b/testsuites/smptests/smpfatal06/smpfatal06.doc
@@ -0,0 +1,13 @@
+This file describes the directives and concepts tested by this test set.
+
+test set name: smpfatal06
+
+directives:
+
+ - _Thread_Do_dispatch()
+
+concepts:
+
+ - Ensure that the fatal error INTERNAL_ERROR_BAD_THREAD_DISPATCH_ENVIRONMENT
+ occurs in case a blocking operating system service is called with
+ interrupts disabled.