From: James Gray Date: 2009-02-11T09:54:32+09:00 Subject: Re: GC and Threads On Feb 10, 2009, at 6:25 PM, David Masover wrote: > James Gray wrote: >> * Ruby can GC a Thread that has run to completion if you no longer >> have any references to it, even if the value() have never been >> collected > > Not sure. It seems this is at least somewhat true. See the script I posted earlier in this thread for an example. I would love to know why it can't totally clear them in that example though. >> * Ruby cannot GC a running Thread, even if there are no references >> to it > > Unfortunately, this part is true, as Ruby has not solved the Halting > Problem. Well, it happens to help me in this case, so I'll call it a bonus. :) James Edward Gray II