about summary refs log tree commit diff stats
path: root/channel.mu
diff options
context:
space:
mode:
Diffstat (limited to 'channel.mu')
-rw-r--r--channel.mu4
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
 ])