t = Thread.new {somecode}
t.join
causes the interpreter to crash
(This application has requested the Runtime to terminate it in an
unusual way)
while...
t = Thread.new {somecode}
sleep 1
t.join
or...
t = Thread.new {somecode}
puts "anything"
t.join
does not
···
--
Posted via http://www.ruby-forum.com/.