Doesn&#39;t this effectively happen if the method executing in the shred exits? LIke this:<br><br>1 =&gt; int running;<br>fun void daShred() {<br>&nbsp;while (running) {<br>&nbsp; 1::ms =&gt; now;<br>&nbsp;}<br>}<br><br>unsporkIt() {<br>
&nbsp;0 =&gt; running;<br>}<br><br>spork ~ daShred();<br><br>I remember that for Java threads (which admittedly isn&#39;t exactly the same as shreds), this is a recommended practice.<br><br>/Stefan<br><br><div class="gmail_quote">
On Mon, Mar 17, 2008 at 9:19 AM, kevin &lt;<a href="mailto:vacillates@gmail.com">vacillates@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I couldn&#39;t find this in a search, but I&#39;m not exactly sure what it&#39;s called.<br><br>I&#39;d like to be able to unspork (despork?) a shred sometime after i&#39;ve sporked it, based on OSC input.<br><br>is there a convenient way to do this?<br>

<br>thanks<br><font color="#888888">-k<br>
</font><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!