diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-01-10 12:20:00 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-01-10 12:20:00 -0800 |
commit | d91440edb16a65f4887c118a3e7727485e46655e (patch) | |
tree | 11eaadc11b96e891ab7a0acb5318989e600d03bb /channel.mu | |
parent | 3cde61a2ab7e4f2ab9dfed1a2347e90f6f442000 (diff) | |
download | mu-d91440edb16a65f4887c118a3e7727485e46655e.tar.gz |
519 - ooh, use metadata to disambiguate args
Diffstat (limited to 'channel.mu')
-rw-r--r-- | channel.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channel.mu b/channel.mu index 9c5ca0f2..343caa7e 100644 --- a/channel.mu +++ b/channel.mu @@ -41,7 +41,7 @@ (function main [ (chan:channel-address <- init-channel 3:literal) ; create two background 'routines' that communicate by a channel - (fork consumer:fn nil:literal chan:channel-address) - (fork producer:fn nil:literal chan:channel-address) + (fork consumer:fn nil:literal/globals chan:channel-address) + (fork producer:fn nil:literal/globals chan:channel-address) (sleep 2000:literal) ; wait for forked routines to effect the transfer ]) |