Issue #5368 has been reported by Masaki Matsushita.

----------------------------------------
Bug #5368: ensure膀????sleep???????????????Thread????????????ゃ?潟?帥?????帥??腟?篋????????
http://redmine.ruby-lang.org/issues/5368

Author: Masaki Matsushita
Status: Open
Priority: Normal
Assignee: 
Category: core
Target version: 1.9.x
ruby -v: ruby 1.9.4dev (2011-09-26 trunk 33338) [x86_64-linux]


=begin
罨<??潟?若?????絎?茵??????????CPU篏睡??????莊潟????????c????倶?????????ゃ?潟?帥?????帥??腟?篋??????障????????

 Thread.new do
   begin
     sleep
   ensure
     sleep
   end
 end

????rb_thread_terminate_all??с?????????1????????????????????????鴻????????絲??????terminate_i???絎?茵??????????障????????ensure膀????sleep???????????????Thread???????????????????Thread?????????障?障???c?????障??while(!rb_thread_alone())?????♂?????若??????c?????障????障?????

while(!rb_thread_alone())?????????若????с???潟????鴻???????????<?ゃ?潟?鴻????????с????c????翫?????????????????????鴻????????絲??????terminate_i???絎?茵????????????????patch?????吾????????????????????????違???????????????障????????
patch???羞私???????障?????patch?????????test-all????????鴻????障?????
=end


-- 
http://redmine.ruby-lang.org