[chuck-users] shreds ARE reclaimed...

Hans Aberg haberg at math.su.se
Mon Jun 15 02:56:01 EDT 2009


On 14 Jun 2009, at 23:34, Robert Poor wrote:

> I owe an apology to the ChucK community for spreading incorrect  
> information: having played around with Tom Lieber's excellent  
> Timeout class, it's clear that ChucK DOES reclaim expired shreds.

It is really a documentation problem :-).

> As compensation for my embarrassment, I'm relieved that my code will  
> become a LOT simpler.

It is important to know, but your example still shows that 'chuck' may  
not clean up expire threads fast enough. So if one produces a lot of  
threads, one may still have to consider reusing them - this might be  
needed for conserving time, too.

   Hans




More information about the chuck-users mailing list