aha. you&#39;re right, both shreds are finishing when the parent shred finishes.<br><br>i changed the last line to 5::seconds =&gt; now, and it waits until 7 seconds into the program before both shreds die. <br><br>bug indeed.<br>
-k<br><br><div class="gmail_quote">On Mon, Mar 17, 2008 at 2:59 PM, Leuthold Dominik &lt;<a href="mailto:moudi@gmx.net">moudi@gmx.net</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;">




<div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>all</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>@kassen:</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>&nbsp;i can reproduce it with the mini on 
win.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>@kevin &amp; stefan:</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>are both shreds finishing at the same moment, or does 
the sporked child shred finishes 2 seconds before the parent one 
does?</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>when i try it on my environment, both shreds finish at 
the same moment, but they shouldn&#39;t.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>jassas</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>/moudi</span></font></div><font color="#0000ff" face="Arial" size="2"></font><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div dir="ltr" align="left" lang="de">
  <hr>
  <font face="Tahoma" size="2"><b>Von:</b> 
  <a href="mailto:chuck-users-bounces@lists.cs.princeton.edu" target="_blank">chuck-users-bounces@lists.cs.princeton.edu</a> 
  [mailto:<a href="mailto:chuck-users-bounces@lists.cs.princeton.edu" target="_blank">chuck-users-bounces@lists.cs.princeton.edu</a>] <b>Im Auftrag von 
  </b>kevin<br><b>Gesendet:</b> Montag, 17. März 2008 21:46<br><b>An:</b> ChucK 
  Users Mailing List<br><b>Betreff:</b> Re: [chuck-users] unsporking 
  [bug?]<br></font><br></div><div><div></div><div class="Wj3C7c">
  <div></div>It did that in miniAudicle on OS X for me as well.<br><br>The 
  syntax errors that were appearing before don&#39;t appear in this code 
  either.<br><br>-k<br><br>
  <div class="gmail_quote">On Mon, Mar 17, 2008 at 12:59 PM, Stefan Blixt &lt;<a href="mailto:stefan.blixt@gmail.com" target="_blank">stefan.blixt@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;">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></div>
    <div>/Stefan<br><br>
    <div class="gmail_quote">
    <div>
    <div></div>
    <div>On Mon, Mar 17, 2008 at 7:39 PM, Kassen &lt;<a href="mailto:signal.automatique@gmail.com" target="_blank">signal.automatique@gmail.com</a>&gt; wrote:<br></div></div>
    <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
      <div>
      <div></div>
      <div><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></div></div>_______________________________________________<br>chuck-users 
      mailing list<br><a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">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><br>_______________________________________________<br>chuck-users 
    mailing list<br><a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">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></div></div></blockquote></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>