about summary refs log tree commit diff stats
path: root/archive/1.vm/fork.mu
diff options
context:
space:
mode:
Diffstat (limited to 'archive/1.vm/fork.mu')
-rw-r--r--archive/1.vm/fork.mu16
1 files changed, 16 insertions, 0 deletions
diff --git a/archive/1.vm/fork.mu b/archive/1.vm/fork.mu
new file mode 100644
index 00000000..af414cf2
--- /dev/null
+++ b/archive/1.vm/fork.mu
@@ -0,0 +1,16 @@
+# example program: running multiple routines
+
+def main [
+  start-running thread2
+  {
+    $print 34
+    loop
+  }
+]
+
+def thread2 [
+  {
+    $print 35
+    loop
+  }
+]