<div dir="ltr">Thanks Rich! Sounds straightforward, I will add that to the generator. <div><br></div><div>spencer</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 6, 2015 at 7:27 AM, Rich Caloggero <span dir="ltr">&lt;<a href="mailto:rjc@mit.edu" target="_blank">rjc@mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">
<div dir="ltr">
<div style="FONT-SIZE:12pt;FONT-FAMILY:&#39;Calibri&#39;;COLOR:#000000">
<div>
<div style="FONT-SIZE:small;TEXT-DECORATION:none;FONT-FAMILY:&quot;Calibri&quot;;FONT-WEIGHT:normal;COLOR:#000000;FONT-STYLE:normal;DISPLAY:inline"><a title="https://ccrma.stanford.edu/~spencer/ckdoc/io.html#IO" href="https://ccrma.stanford.edu/~spencer/ckdoc/io.html#IO" target="_blank">https://ccrma.stanford.edu/~spencer/ckdoc/io.html#IO</a></div></div>
<div>
<div style="FONT-SIZE:small;TEXT-DECORATION:none;FONT-FAMILY:&quot;Calibri&quot;;FONT-WEIGHT:normal;COLOR:#000000;FONT-STYLE:normal;DISPLAY:inline"><font size="3" face="Calibri"></font> </div></div>
<div>
<div style="FONT-SIZE:small;TEXT-DECORATION:none;FONT-FAMILY:&quot;Calibri&quot;;FONT-WEIGHT:normal;COLOR:#000000;FONT-STYLE:normal;DISPLAY:inline"><font size="3" face="Calibri">Screen reader users find it amencely helpful on pages which 
list the various properties and methods of a particular object for each method / 
property definition be wrapped in a heading tag. This will become even more 
useful / necessary when descriptions are added.</font></div></div>
<div>
<div style="FONT-SIZE:small;TEXT-DECORATION:none;FONT-FAMILY:&quot;Calibri&quot;;FONT-WEIGHT:normal;COLOR:#000000;FONT-STYLE:normal;DISPLAY:inline"> </div>
<div style="FONT-SIZE:small;TEXT-DECORATION:none;FONT-FAMILY:&quot;Calibri&quot;;FONT-WEIGHT:normal;COLOR:#000000;FONT-STYLE:normal;DISPLAY:inline"> </div></div>
<div>
<div> </div>
<div>For instance:</div>
<div>...</div>
<div>- h2: IO</div>
<div> </div>
<div>- h3: static member variables</div>
<div> </div>
<div>- h4: int MODE_ASYNC</div>
<div> </div>
<div>- h4: int MODE_SYNC</div>
<div style="FONT-SIZE:small;TEXT-DECORATION:none;FONT-FAMILY:&quot;Calibri&quot;;FONT-WEIGHT:normal;COLOR:#000000;FONT-STYLE:normal;DISPLAY:inline"></div>
<div style="FONT:10pt tahoma">
<div style="BACKGROUND:#f5f5f5"><b>...</b></div>
<div style="BACKGROUND:#f5f5f5"><b></b> </div>
<div style="BACKGROUND:#f5f5f5">
<div><font face="Calibri"><font style="FONT-SIZE:12pt;BACKGROUND-COLOR:#ffffff">Thanx for 
all your work on this.</font></font></div></div>
<div style="BACKGROUND:#f5f5f5">
<div><font style="BACKGROUND-COLOR:#ffffff" size="3" face="Calibri">-- Rich</font></div></div>
<div style="BACKGROUND:#f5f5f5">
<div> </div></div>
<div style="BACKGROUND:#f5f5f5"><b>From:</b> <a title="spencer@ccrma.stanford.edu" href="mailto:spencer@ccrma.stanford.edu" target="_blank">Spencer Salazar</a> </div>
<div style="BACKGROUND:#f5f5f5"><b>Sent:</b> Friday, March 06, 2015 3:48 
AM</div>
<div style="BACKGROUND:#f5f5f5"><b>To:</b> <a title="chuck-users@lists.cs.princeton.edu" href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">ChucK Users Mailing List</a> 
</div>
<div style="BACKGROUND:#f5f5f5"><b>Subject:</b> Re: [chuck-users] is shred 
running? (Atte)</div></div>
<div> </div></div>
<div style="FONT-SIZE:small;TEXT-DECORATION:none;FONT-FAMILY:&quot;Calibri&quot;;FONT-WEIGHT:normal;COLOR:#000000;FONT-STYLE:normal;DISPLAY:inline">
<div dir="ltr">Hi Atte, 
<div> </div>
<div class="gmail_extra">
<div class="gmail_quote">On Thu, Mar 5, 2015 at 2:36 AM, Atte <span dir="ltr">&lt;<a href="mailto:atte@youmail.dk" target="_blank">atte@youmail.dk</a>&gt;</span> 
wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid"><span>On 
  03/04/2015 06:59 PM, Perry Cook wrote:<br>&gt; Atte,<br>&gt;<br>&gt; A handy 
  list of Shred functions (From our new Book, Appendix A :-):<br><br></span>And 
  where do I find this info online?<br></blockquote>
<div> </div>
<div>Theyre probably in a changelog somewhere, but also I am working on a new 
documentation system (generated from ChucK source) which automatically picks up 
new features like this. There is a prerelease version here: </div>
<div><a href="https://ccrma.stanford.edu/~spencer/ckdoc/" target="_blank">https://ccrma.stanford.edu/~spencer/ckdoc/</a><br></div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid"><span><br>&gt; 
  The ones you want are running() or done()<br><br></span>Hmmm. Thought I could 
  do<br><br>return(Shred.fromId(myID).running())<br><br>but that gives null 
  pointer exception. Makes sense, the shred with the<br>id is not running, so I 
  get a null reference, and trying to call<br>running() on that... Better 
  is<br><br>return(Shred.fromId(myID)!=null)<br><br>However something strange 
  happens in combination with<br>Machine.remove(myID) that doesn&#39;t happen when I 
  switch to<br>Shred.fromId(myID).exit(). The scenario is quite complex, so for 
  now a<br>quick difference of the two ways to remove a shred would be 
  nice...<span><br></span></blockquote>
<div> </div>
<div>Hmm, it would be nice if there was no difference. But there is a 
difference, internally, and it appears that is leaking out of the abstraction so 
to speak. So basically .exit() appears to terminate the shred immediately 
whereas Machine.remove() waits until all shreds have finished executing for this 
sample, i.e. all shreds are waiting =&gt; now. At least that is what I am 
interpreting from the source code. </div>
<div> </div>
<div>spencer</div>
<div> </div>
<div> </div>
<div> <span> --<br>Atte<br><br><a href="http://atte.dk" target="_blank">http://atte.dk</a>   <a href="http://a773.dk" target="_blank">http://a773.dk</a><br></span>
<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><br></div></div></div></div><br><br clear="all">
<div> </div>-- <br>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div style="FONT-SIZE:small;FONT-FAMILY:arial">
<div>Spencer Salazar<br></div>
<div>Doctoral Candidate</div>
<div>Center for Computer Research in Music and Acoustics</div>
<div>Stanford University</div>
<div> </div>
<div><a href="mailto:spencer@ccrma.stanford.edu" target="_blank">spencer@ccrma.stanford.edu</a></div>
<div></div>
<div><a href="tel:%2B1%20831.277.4654" value="+18312774654" target="_blank">+1 
831.277.4654</a><br></div>
<div><a style="COLOR:rgb(17,85,204)" href="https://ccrma.stanford.edu/~spencer/" target="_blank">https://ccrma.stanford.edu/~spencer/</a><br></div>
<div> </div></div></div></div></div></div></div></div></div></div></div></div>
<p>
</p><hr>
_______________________________________________<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><p></p></div></div></div></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"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small"><div>Spencer Salazar<br></div><div>Doctoral Candidate</div><div>Center for Computer Research in Music and Acoustics</div><div>Stanford University</div><div><br></div><div><a href="mailto:spencer@ccrma.stanford.edu" target="_blank">spencer@ccrma.stanford.edu</a></div><div></div><div>+1 831.277.4654<br></div><div><a href="https://ccrma.stanford.edu/~spencer/" style="color:rgb(17,85,204)" target="_blank">https://ccrma.stanford.edu/~spencer/</a><br></div><div><br></div></div></div></div></div></div></div></div></div></div>
</div>