autodoc.git
/
traditional_manual
/
chapter_21.html
version
»
Context lines:
10
20
40
80
file
none
3
autodoc.git/traditional_manual/chapter_21.html:42027:
<dt class='head--type'><span class='homogen--type'>Method</span> <span class='homogen--name'><b>shuffle</b></span> </dt> <dd><p><code><code class='object unresolved'>Shuffle</code> <b><span class='method'>shuffle</span>(</b><code class='object unresolved'>Stdio.NonblockingStream</code> <code class='argument'>destination</code>, <code class='datatype'>int</code>|<code class='datatype'>void</code> <code class='argument'>start</code>, <code class='datatype'>int</code>|<code class='datatype'>void</code> <code class='argument'>length</code><b>)</b></code></p></dd> <dt class='head--doc'>Description</dt> <dd class='body--doc'><p>Create a new <code>Shuffle</code> object.</p> <p> The destination has to support nonblocking I/O through <code>set_nonblocking_keep_callbacks</code> and <code>set_write_callback</code> member functions.</p>
+
</dd>
+
<dt class='head--doc'>Note</dt>
+
<dd class='body--doc'><p>For destinations that connect directly to a kernel-filedescriptor
+
please note that the filedescriptor will be dup()ed for the duration
+
of the shuffle. This means that if the original destination object
+
is kept, we temporarily use two filedescriptors for it.</p>
</dd></dl> <hr /> <dl class='group--doc'> <dt class='head--type'><span class='homogen--type'>Method</span> <span class='homogen--name'><b>start</b></span> </dt> <dd><p><code><code class='datatype'>void</code> <b><span class='method'>start</span>(</b><b>)</b></code></p></dd>