From: Kaspar Schiess Date: 2005-01-24T18:08:06+09:00 Subject: Re: nuby threading on threads (In response to news:20050124005127.F2A9982B3@mx2.delmonte-phil.com by Pe�a, Botp) > LIMIT= 10 > tlist = [] > loop { > if tlist.size< LIMIT > tlist << Thread.new { p "test" } > else > sleep 5 > end > } > Hello, I'd recommend discarding threads that are dead from the list like this: tlist.select! { |t| t.alive? } yours, kaspar hand manufactured code - www.tua.ch/ruby