<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">@kas, i thought i tried that, but i might have gotten confused at the &quot;spork ~ my_fun() @=&gt; my_shred;&quot; line<br>
<br>the online documentation says &quot;spork ~ my_fun() =&gt; Shred @ my_shred;&quot; without declaring my_shred first, and this gives syntax errors.</blockquote><div><br><br>I think we may have a bug; the following compiles and the id is right but the shred doesn&#39;t die when it should. Quite weird.<br>
<br>Kas.<br>----------------------------------<br>fun void foo()<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; .5::second =&gt; now;<br>&nbsp;&nbsp;&nbsp; &lt;&lt;&lt;&quot;yeah&quot;&gt;&gt;&gt;;<br>&nbsp;&nbsp;&nbsp; minute =&gt; now;<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; <br>spork ~foo() @=&gt; Shred bar;<br>
<br><br>second =&gt; now;<br>&lt;&lt;&lt;bar.id()&gt;&gt;&gt;;<br>second =&gt; now;<br>bar.exit();<br><br>2::second =&gt; now; <br></div><br></div>