about summary refs log tree commit diff stats
path: root/channel.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-06-19 16:34:11 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-06-19 16:34:11 -0700
commita91c1c2a28583262cc6052a5c3d9e713e9b4c0e0 (patch)
treeeb9d9b38071275630e9533b2b02ddde048bae582 /channel.mu
parentfc52705f4956df9a756b902b187f31799c1451a4 (diff)
downloadmu-a91c1c2a28583262cc6052a5c3d9e713e9b4c0e0.tar.gz
1599
Diffstat (limited to 'channel.mu')
-rw-r--r--channel.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/channel.mu b/channel.mu
index 86378352..4f0231da 100644
--- a/channel.mu
+++ b/channel.mu
@@ -34,7 +34,7 @@ recipe consumer [
 
 recipe main [
   default-space:address:array:location <- new location:type, 30:literal
-  chan:address:channel <- init-channel 3:literal
+  chan:address:channel <- new-channel 3:literal
   # create two background 'routines' that communicate by a channel
   routine1:number <- start-running producer:recipe, chan:address:channel
   routine2:number <- start-running consumer:recipe, chan:address:channel