-, :
thread_1 = Thread.new do
end
thread_2 = Thread.new do
end
thread_1.join
thread_2.join(timeout_in_seconds)
Thread#join . , Ruby .
, , concurrency ruby ββ1.8 Matz Ruby (MRI), concurrency . :
, , Global Interpreter Lock ( GIL), concurrency
.
MRI , Green Threads, , Ruby , , , , , , , Ruby 1.9 YARV, , Ruby , YARV VM ( GIL), concurrency , .