about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--fork.mu18
1 files changed, 18 insertions, 0 deletions
diff --git a/fork.mu b/fork.mu
new file mode 100644
index 00000000..eb1a2ca1
--- /dev/null
+++ b/fork.mu
@@ -0,0 +1,18 @@
+recipe main [
+  start-running thread2:recipe
+  default-space:address:array:location <- new location:type, 2:literal
+  x:integer <- copy 34:literal
+  {
+    $print x:integer
+    loop
+  }
+]
+
+recipe thread2 [
+  default-space:address:array:location <- new location:type, 2:literal
+  y:integer <- copy 35:literal
+  {
+    $print y:integer
+    loop
+  }
+]