diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-01-10 12:23:58 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-01-10 12:26:24 -0800 |
commit | e5e297962736b4542e1a037edf103ea44030227f (patch) | |
tree | e050d1efd207a08391e585efe0fb9e9c860c8502 | |
parent | d91440edb16a65f4887c118a3e7727485e46655e (diff) | |
download | mu-e5e297962736b4542e1a037edf103ea44030227f.tar.gz |
520 - update stale example
For new interface to 'sleep' at 511.
-rw-r--r-- | channel.mu | 2 |
1 files changed, 1 insertions, 1 deletions
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 ]) |