From: Joel VanderWerf Date: 2009-02-11T08:51:28+09:00 Subject: Re: GC and Threads James Gray wrote: > def show_thread_count > count = 0 > ObjectSpace.each_object(Thread) { |obj| count += 1 } > p count > end Btw, this is the same as def show_thread_count p ObjectSpace.each_object(Thread) {} end -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407