t1 = Thread.new { sleep 10000 } t2 = Thread.new { sleep 20000 } t3 = Thread.new { sleep 20000 } Thread.kill(t1) Thread.pass
这里 Thread.pass 是不确定的移交。能不能确定的把执行移交给某个线程?
Thread.pass