Was that supposed to print &quot;yeah&quot;, short pause, &quot;2&quot;, two seconds, then finish? Because that&#39;s what it did here (chuck command line in an OS X terminal). Maybe a Win32-only bug?<div><br class="webkit-block-placeholder">
</div><div>/Stefan<br><br><div class="gmail_quote">On Mon, Mar 17, 2008 at 7:39 PM, Kassen &lt;<a href="mailto:signal.automatique@gmail.com">signal.automatique@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<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>
<br>_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Release me, insect, or I will destroy the Cosmos!
</div>