Issue #8749 has been updated by akr (Akira Tanaka).

File readline-release-gvl.patch added

???????????????????? redmine ????????????????????? redmine ????????????
(?????? (??????????????) https://www.ruby-forum.com/topic/4416224 ??????????????)

読?込?????????????????????????? GVL ???解?????????????????????????????????????????????????

readline_getc ??? Ruby 1.8 ???代?????????????
Ruby ??? IO 読?込????? (rb_io_getbyte) ???使??????????????
読?込???????????????????????中???????????????????????????????????????????????????
?????????? IO ?????????????????????????IO ?????????????????????????????????
中?????端??????

????????????????? r42402 ???????????????????????????????????????????????????
???????????Ruby 1.9 以???????GVL ?????????読??込?????????????中???
?????????????????????????????????????????????????????????????????????????

readline-release-gvl.patch ?????????????????????????

?????????????????????????????
rb_thread_call_with_gvl ????? rb_thread_check_ints ?????????????????????
rb_thread_interrupted ???使????設??????? trap ?????座???起???????????????????????????
????????????????????? rb_thread_interrupted ??????????????????????????????解??
rb_thread_interrupted ???????????????????????????????????????????????

----------------------------------------
Bug #8749: Readline.readline stops STDOUT?
https://bugs.ruby-lang.org/issues/8749#change-41109

Author: no6v (Nobuhiro IMAI)
Status: Open
Priority: Normal
Assignee: 
Category: ext
Target version: 
ruby -v: ruby 2.1.0dev (2013-08-06 trunk 42402) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
r42402 ????以????????????????????????????????????????????
(Enter ?????????????????????????????)Readline.readline ?????中???????????????????????????????????????????????????

 $ cat rl.rb
 require "readline"
 
 th = Thread.new do
   p Readline.readline("> ")
 end
 
 loop do
   p :hi
   sleep 2
   break unless th.alive?
 end
 $ ruby -v rl.rb
 ruby 2.1.0dev (2013-08-06 trunk 42401) [x86_64-linux]
 :hi
 > :hi
 :hi
 :hi
 :hi
               # ???????????置????????????? Enter
 ""
 $ ruby -v rl.rb
 $ /tmp/ruby/bin/ruby -v /tmp/r.rb 
 ruby 2.1.0dev (2013-08-06 trunk 42402) [x86_64-linux]
 :hi
 >             # ???????????置????????????? Enter
 ""
 $ 
=end



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