From e5e297962736b4542e1a037edf103ea44030227f Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 10 Jan 2015 12:23:58 -0800 Subject: 520 - update stale example For new interface to 'sleep' at 511. --- channel.mu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channel.mu b/channel.mu index 343caa7e..d58f4546 100644 --- a/channel.mu +++ b/channel.mu @@ -43,5 +43,5 @@ ; create two background 'routines' that communicate by a channel (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 + (sleep for-some-cycles:literal 2000:literal) ; wait for forked routines to effect the transfer ]) -- cgit 1.4.1-2-gfad0