summaryrefslogtreecommitdiffstats
path: root/test/thread
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:47:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:47:37 +0000
commit00e2eb4fd0266c5be01e3a527a66aaad5ab4b634 (patch)
treea6a58bd544eb0b76b9d3acc678ea88791acca045 /test/thread
parentInitial commit. (diff)
downloadlibixion-upstream.tar.xz
libixion-upstream.zip
Adding upstream version 0.19.0.upstream/0.19.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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
+