summaryrefslogtreecommitdiffstats
path: root/test/thread
diff options
context:
space:
mode:
Diffstat (limited to 'test/thread')
-rw-r--r--test/thread/function-parallel.txt11
-rw-r--r--test/thread/function-wait-simple.txt8
2 files changed, 19 insertions, 0 deletions
diff --git a/test/thread/function-parallel.txt b/test/thread/function-parallel.txt
new file mode 100644
index 0000000..49cceea
--- /dev/null
+++ b/test/thread/function-parallel.txt
@@ -0,0 +1,11 @@
+%mode init
+A1=WAIT()+1
+A2=WAIT()+20
+A3=WAIT()+15
+A4=WAIT()+5
+A5=A1+A2+A3+A4+WAIT()
+A6=(A2+A3)*2+WAIT()
+A7=A5+A6+WAIT()
+%calc
+%exit
+
diff --git a/test/thread/function-wait-simple.txt b/test/thread/function-wait-simple.txt
new file mode 100644
index 0000000..b3df0d7
--- /dev/null
+++ b/test/thread/function-wait-simple.txt
@@ -0,0 +1,8 @@
+%mode init
+A1=WAIT()+1
+A2=WAIT()+20
+A3=WAIT()+15
+A4=(A2+A3)*2+WAIT()
+%calc
+%exit
+