diff options
Diffstat (limited to 'html/075channel.mu.html')
-rw-r--r-- | html/075channel.mu.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/html/075channel.mu.html b/html/075channel.mu.html index 6aa979d9..0b432389 100644 --- a/html/075channel.mu.html +++ b/html/075channel.mu.html @@ -149,7 +149,7 @@ if ('onhashchange' in window) { <span id="L85" class="LineNr"> 85 </span> <span class="Conceal">¦</span> reset lock <span id="L86" class="LineNr"> 86 </span> <span class="Conceal">¦</span> current-routine-is-blocked <span id="L87" class="LineNr"> 87 </span> <span class="Conceal">¦</span> switch <span class="Comment"># avoid spinlocking</span> -<span id="L88" class="LineNr"> 88 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L88" class="LineNr"> 88 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L89" class="LineNr"> 89 </span> <span class="Delimiter">}</span> <span id="L90" class="LineNr"> 90 </span> current-routine-is-unblocked <span id="L91" class="LineNr"> 91 </span><span class="CommentedCode">#? $print [performing write], 10/newline</span> @@ -196,7 +196,7 @@ if ('onhashchange' in window) { <span id="L132" class="LineNr">132 </span> <span class="Conceal">¦</span> current-routine-is-blocked <span id="L133" class="LineNr">133 </span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> <a href='075channel.mu.html#L133'><channel-read-empty></a></span> <span id="L134" class="LineNr">134 </span> <span class="Conceal">¦</span> switch <span class="Comment"># avoid spinlocking</span> -<span id="L135" class="LineNr">135 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L135" class="LineNr">135 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L136" class="LineNr">136 </span> <span class="Delimiter">}</span> <span id="L137" class="LineNr">137 </span> current-routine-is-unblocked <span id="L138" class="LineNr">138 </span> <span class="Comment"># pull result off</span> @@ -381,7 +381,7 @@ if ('onhashchange' in window) { <span id="L317" class="LineNr">317 </span> <span class="Conceal">¦</span> empty?:bool <span class="Special"><-</span> <a href='075channel.mu.html#L370'>channel-empty?</a> chan <span id="L318" class="LineNr">318 </span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> empty? <span id="L319" class="LineNr">319 </span> <span class="Conceal">¦</span> _, _, in <span class="Special"><-</span> read in -<span id="L320" class="LineNr">320 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L320" class="LineNr">320 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L321" class="LineNr">321 </span> <span class="Delimiter">}</span> <span id="L322" class="LineNr">322 </span>] <span id="L323" class="LineNr">323 </span> @@ -424,7 +424,7 @@ if ('onhashchange' in window) { <span id="L360" class="LineNr">360 </span> <span class="Conceal">¦</span> <span class="muControl">break-unless</span> closed? <span id="L361" class="LineNr">361 </span> <span class="Conceal">¦</span> empty-result:&:_elem <span class="Special"><-</span> new <span class="Constant">_elem:type</span> <span id="L362" class="LineNr">362 </span> <span class="Conceal">¦</span> current-routine-is-unblocked -<span id="L363" class="LineNr">363 </span> <span class="Conceal">¦</span> <span class="muControl">return</span> *empty-result, <span class="Constant">1/true</span> +<span id="L363" class="LineNr">363 </span> <span class="Conceal">¦</span><span class="muControl"> return</span> *empty-result, <span class="Constant">1/true</span> <span id="L364" class="LineNr">364 </span> <span class="Delimiter">}</span> <span id="L365" class="LineNr">365 </span>] <span id="L366" class="LineNr">366 </span> @@ -495,13 +495,13 @@ if ('onhashchange' in window) { <span id="L431" class="LineNr">431 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> *line <span class="Special"><-</span> put *line, <span class="Constant">length:offset</span>, buffer-length <span id="L432" class="LineNr">432 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L433" class="LineNr">433 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Comment"># and don't append this one</span> -<span id="L434" class="LineNr">434 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">loop</span> <span class="Constant">+next-character</span> +<span id="L434" class="LineNr">434 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span class="Constant">+next-character</span> <span id="L435" class="LineNr">435 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L436" class="LineNr">436 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Comment"># append anything else</span> <span id="L437" class="LineNr">437 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> line <span class="Special"><-</span> append line, c <span id="L438" class="LineNr">438 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> line-done?:bool <span class="Special"><-</span> equal c, <span class="Constant">10/newline</span> <span id="L439" class="LineNr">439 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> line-done? -<span id="L440" class="LineNr">440 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L440" class="LineNr">440 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L441" class="LineNr">441 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L442" class="LineNr">442 </span> <span class="Conceal">¦</span> <span class="Comment"># copy line into 'buffered-out'</span> <span id="L443" class="LineNr">443 </span> <span class="Conceal">¦</span> i:num <span class="Special"><-</span> copy<span class="Constant"> 0</span> @@ -513,14 +513,14 @@ if ('onhashchange' in window) { <span id="L449" class="LineNr">449 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> c:char <span class="Special"><-</span> index *line-contents, i <span id="L450" class="LineNr">450 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> buffered-out <span class="Special"><-</span> <a href='075channel.mu.html#L67'>write</a> buffered-out, c <span id="L451" class="LineNr">451 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> i <span class="Special"><-</span> add i,<span class="Constant"> 1</span> -<span id="L452" class="LineNr">452 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L452" class="LineNr">452 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L453" class="LineNr">453 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L454" class="LineNr">454 </span> <span class="Conceal">¦</span> <span class="Delimiter">{</span> <span id="L455" class="LineNr">455 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">break-unless</span> eof? <span id="L456" class="LineNr">456 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> buffered-out <span class="Special"><-</span> close buffered-out -<span id="L457" class="LineNr">457 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">return</span> +<span id="L457" class="LineNr">457 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span><span class="muControl"> return</span> <span id="L458" class="LineNr">458 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> -<span id="L459" class="LineNr">459 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L459" class="LineNr">459 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L460" class="LineNr">460 </span> <span class="Delimiter">}</span> <span id="L461" class="LineNr">461 </span>] <span id="L462" class="LineNr">462 </span> @@ -576,7 +576,7 @@ if ('onhashchange' in window) { <span id="L512" class="LineNr">512 </span> <span class="Conceal">¦</span> c:char, done?:bool <span class="Special"><-</span> read <a href='075channel.mu.html#L43'>source</a> <span id="L513" class="LineNr">513 </span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> done? <span id="L514" class="LineNr">514 </span> <span class="Conceal">¦</span> buf <span class="Special"><-</span> append buf, c -<span id="L515" class="LineNr">515 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L515" class="LineNr">515 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L516" class="LineNr">516 </span> <span class="Delimiter">}</span> <span id="L517" class="LineNr">517 </span> result <span class="Special"><-</span> <a href='061text.mu.html#L338'>buffer-to-array</a> buf <span id="L518" class="LineNr">518 </span>] |