From 201458e3bd2f1d79a0ea0b853552e9df267e92b1 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 26 Dec 2016 20:44:10 -0800 Subject: 3713 - cross-link calls with definitions in html --- html/channel.mu.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html/channel.mu.html') diff --git a/html/channel.mu.html b/html/channel.mu.html index 2a485823..428e1b8b 100644 --- a/html/channel.mu.html +++ b/html/channel.mu.html @@ -68,7 +68,7 @@ if ('onhashchange' in window) { 12 # other threads might get between these prints 13 $print [produce: ], n, [ 14 ] -15 sink <- write sink, n +15 sink <- write sink, n 16 n <- add n, 1 17 loop 18 } @@ -92,7 +92,7 @@ if ('onhashchange' in window) { 36 37 def main [ 38 local-scope -39 source:&:source:char, sink:&:sink:char <- new-channel 3/capacity +39 source:&:source:char, sink:&:sink:char <- new-channel 3/capacity 40 # create two background 'routines' that communicate by a channel 41 routine1:num <- start-running producer, sink 42 routine2:num <- start-running consumer, source -- cgit 1.4.1-2-gfad0