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