15 Jun
2009
15 Jun
'09
2:56 a.m.
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