diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-05 21:19:56 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-05 21:19:56 -0700 |
commit | 8923d6f658d09de800164b8fc6514475f49307b4 (patch) | |
tree | eba908571140095abbecce3e64359bbdd427e90f /fork.mu | |
parent | b96af395b9af2ff9df94b3e82213171f30827c8d (diff) | |
download | mu-8923d6f658d09de800164b8fc6514475f49307b4.tar.gz |
1277
Diffstat (limited to 'fork.mu')
-rw-r--r-- | fork.mu | 18 |
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 + } +] |