Skip to content

Commit 2484bf1

Browse files
committed
Update doc
1 parent 39e5e08 commit 2484bf1

20 files changed

+3023
-1641
lines changed

docs-source/channel.out.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -204,17 +204,17 @@ log
204204
# "producer 0 pushing 2",
205205
# "producer 1 pushing 0",
206206
# "consumer 0 got 0. payload 0 from producer 0",
207-
# "consumer 1 got 0. payload 1 from producer 0",
208-
# "consumer 2 got 0. payload 2 from producer 0",
209-
# "consumer 3 got 0. payload 0 from producer 1",
210207
# "producer 0 pushing 3",
208+
# "consumer 2 got 0. payload 1 from producer 0",
211209
# "producer 1 pushing 1",
210+
# "consumer 1 got 0. payload 2 from producer 0",
211+
# "consumer 3 got 0. payload 0 from producer 1",
212212
# "producer 1 pushing 2",
213-
# "consumer 0 got 1. payload 3 from producer 0",
213+
# "consumer 2 got 1. payload 3 from producer 0",
214+
# "consumer 0 got 1. payload 1 from producer 1",
215+
# "consumer 3 got 1. payload 2 from producer 1",
214216
# "producer 1 pushing 3",
215-
# "consumer 2 got 1. payload 1 from producer 1",
216-
# "consumer 1 got 1. payload 2 from producer 1",
217-
# "consumer 3 got 1. payload 3 from producer 1"]
217+
# "consumer 1 got 1. payload 3 from producer 1"]
218218
```
219219

220220
The producers are much faster than consumers
@@ -269,20 +269,20 @@ consumers.map(&:value!) # => [:done, :done, :done, :done]
269269
log
270270
# => ["producer 0 pushing 0",
271271
# "producer 1 pushing 0",
272+
# "consumer 1 got 0. payload 0 from producer 1",
272273
# "producer 0 pushing 1",
273274
# "producer 1 pushing 1",
274275
# "consumer 0 got 0. payload 0 from producer 0",
275-
# "consumer 1 got 0. payload 0 from producer 1",
276-
# "consumer 2 got 0. payload 1 from producer 0",
276+
# "consumer 3 got 0. payload 1 from producer 0",
277277
# "producer 0 pushing 2",
278-
# "consumer 3 got 0. payload 1 from producer 1",
279278
# "producer 1 pushing 2",
280-
# "producer 0 pushing 3",
281279
# "producer 1 pushing 3",
282-
# "consumer 2 got 1. payload 3 from producer 0",
280+
# "producer 0 pushing 3",
281+
# "consumer 2 got 0. payload 1 from producer 1",
283282
# "consumer 0 got 1. payload 2 from producer 0",
284-
# "consumer 1 got 1. payload 2 from producer 1",
285-
# "consumer 3 got 1. payload 3 from producer 1"]
283+
# "consumer 2 got 1. payload 3 from producer 1",
284+
# "consumer 1 got 1. payload 3 from producer 0",
285+
# "consumer 3 got 1. payload 2 from producer 1"]
286286
```
287287

288288
### Synchronization of workers by passing a value

docs/master/Concurrent.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1749,7 +1749,7 @@ <h3>Derivation</h3>
17491749

17501750

17511751
&mdash;
1752-
<div class='inline'><p>if any of the inputs are not <code>IVar</code>s</p>
1752+
<div class='inline'><p>if no block is given</p>
17531753
</div>
17541754

17551755
</li>
@@ -1762,7 +1762,7 @@ <h3>Derivation</h3>
17621762

17631763

17641764
&mdash;
1765-
<div class='inline'><p>if no block is given</p>
1765+
<div class='inline'><p>if any of the inputs are not <code>IVar</code>s</p>
17661766
</div>
17671767

17681768
</li>

docs/master/Concurrent/ErlangActor.html

Lines changed: 465 additions & 125 deletions
Large diffs are not rendered by default.

docs/master/Concurrent/ErlangActor/Down.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -349,12 +349,12 @@ <h3 class="signature first" id="info-instance_method">
349349
<pre class="lines">
350350

351351

352-
1301
353-
1302
354-
1303</pre>
352+
1380
353+
1381
354+
1382</pre>
355355
</td>
356356
<td>
357-
<pre class="code"><span class="info file"># File 'lib-edge/concurrent/edge/erlang_actor.rb', line 1301</span>
357+
<pre class="code"><span class="info file"># File 'lib-edge/concurrent/edge/erlang_actor.rb', line 1380</span>
358358

359359
<span class='kw'>def</span> <span class='id identifier rubyid_info'>info</span>
360360
<span class='ivar'>@info</span>
@@ -490,12 +490,12 @@ <h3 class="signature first" id="==-instance_method">
490490
<pre class="lines">
491491

492492

493-
1315
494-
1316
495-
1317</pre>
493+
1394
494+
1395
495+
1396</pre>
496496
</td>
497497
<td>
498-
<pre class="code"><span class="info file"># File 'lib-edge/concurrent/edge/erlang_actor.rb', line 1315</span>
498+
<pre class="code"><span class="info file"># File 'lib-edge/concurrent/edge/erlang_actor.rb', line 1394</span>
499499

500500
<span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id identifier rubyid_o'>o</span><span class='rparen'>)</span>
501501
<span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_o'>o</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_o'>o</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span> <span class='op'>==</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span>
@@ -542,12 +542,12 @@ <h3 class="signature " id="hash-instance_method">
542542
<pre class="lines">
543543

544544

545-
1320
546-
1321
547-
1322</pre>
545+
1399
546+
1400
547+
1401</pre>
548548
</td>
549549
<td>
550-
<pre class="code"><span class="info file"># File 'lib-edge/concurrent/edge/erlang_actor.rb', line 1320</span>
550+
<pre class="code"><span class="info file"># File 'lib-edge/concurrent/edge/erlang_actor.rb', line 1399</span>
551551

552552
<span class='kw'>def</span> <span class='id identifier rubyid_hash'>hash</span>
553553
<span class='id identifier rubyid_to_ary'>to_ary</span><span class='period'>.</span><span class='id identifier rubyid_hash'>hash</span>
@@ -594,12 +594,12 @@ <h3 class="signature " id="to_ary-instance_method">
594594
<pre class="lines">
595595

596596

597-
1310
598-
1311
599-
1312</pre>
597+
1389
598+
1390
599+
1391</pre>
600600
</td>
601601
<td>
602-
<pre class="code"><span class="info file"># File 'lib-edge/concurrent/edge/erlang_actor.rb', line 1310</span>
602+
<pre class="code"><span class="info file"># File 'lib-edge/concurrent/edge/erlang_actor.rb', line 1389</span>
603603

604604
<span class='kw'>def</span> <span class='id identifier rubyid_to_ary'>to_ary</span>
605605
<span class='lbracket'>[</span><span class='ivar'>@from</span><span class='comma'>,</span> <span class='ivar'>@reference</span><span class='comma'>,</span> <span class='ivar'>@info</span><span class='rbracket'>]</span>

0 commit comments

Comments
 (0)