Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.etrice.generator.common.tests/model/pingPongThreadTest/PingPongThread.etphys')
-rw-r--r--tests/org.eclipse.etrice.generator.common.tests/model/pingPongThreadTest/PingPongThread.etphys57
1 files changed, 57 insertions, 0 deletions
diff --git a/tests/org.eclipse.etrice.generator.common.tests/model/pingPongThreadTest/PingPongThread.etphys b/tests/org.eclipse.etrice.generator.common.tests/model/pingPongThreadTest/PingPongThread.etphys
new file mode 100644
index 000000000..1215b84c6
--- /dev/null
+++ b/tests/org.eclipse.etrice.generator.common.tests/model/pingPongThreadTest/PingPongThread.etphys
@@ -0,0 +1,57 @@
+PhysicalModel PingPongThread {
+
+ PhysicalSystem Sys {
+ NodeRef node1: PC
+ }
+
+ NodeClass PC {
+ runtime = PC
+ priomin = 1
+ priomax = 5
+
+ DefaultThread DfltThread {
+ execmode = blocked
+ prio = 5
+ stacksize = 1024
+ msgblocksize = 128
+ msgpoolsize = 32
+ }
+
+ Thread Thread1 {
+ execmode = blocked
+ prio = 5
+ stacksize = 1024
+ msgblocksize = 128
+ msgpoolsize = 32
+ }
+
+ Thread Thread2 {
+ execmode = blocked
+ prio = 5
+ stacksize = 1024
+ msgblocksize = 128
+ msgpoolsize = 32
+ }
+
+ Thread Thread3 {
+ execmode = blocked
+ prio = 5
+ stacksize = 1024
+ msgblocksize = 128
+ msgpoolsize = 32
+ }
+
+ Thread MixedThread {
+ execmode = mixed
+ interval = 100 ms
+ prio = 5
+ stacksize = 1024
+ msgblocksize = 128
+ msgpoolsize = 32
+ }
+ }
+
+ RuntimeClass PC {
+ model = multiThreaded
+ }
+} \ No newline at end of file

Back to the top