about summary refs log tree commit diff stats
path: root/fork.mu
blob: af414cf2040c2a9cb20096e31e4c8e1c0575e4b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# example program: running multiple routines

def main [
  start-running thread2
  {
    $print 34
    loop
  }
]

def thread2 [
  {
    $print 35
    loop
  }
]