This post originated from an RSS feed registered with Ruby Buzz
by Daniel Berger.
Original Post: Thread.new(info)
Feed Title: Testing 1,2,3...
Feed URL: http://djberg96.livejournal.com/data/rss
Feed Description: A blog on Ruby and other stuff.
In a thread entitled Cheapest ping possible, Eric Hodel points out something interesting. In his followup he mentions that the OP should use a ThreadGroup instead of a plain array of threads to join later.
Why? Eric says, "A ThreadGroup doesn't hang on to dead threads, so if a thread finishes it will be garbage collected."