about summary refs log tree commit diff stats
path: root/fork.mu
blob: eb1a2ca1fa96f5f58eca4fe262b68281c20a33a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
  }
]