[ruby-cvs:66407] usa:r59229 (ruby_2_3): merge revision(s) 59030, 59031: [Backport #13638]

usa at ruby-lang.org usa at ruby-lang.org
Fri Jun 30 21:09:11 JST 2017


usa	2017-06-30 21:09:10 +0900 (Fri, 30 Jun 2017)

  New Revision: 59229

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59229

  Log:
    merge revision(s) 59030,59031: [Backport #13638]
    
    thread.c: avoid busy looping on rb_thread_fd_close
    
    We no longer use it this function, but extensions do, and
    we need to ensure it continues to work for them.
    
    * thread.c (rb_thread_fd_close): schedule other threads in loop
    * ext/-test-/thread_fd_close/thread_fd_close.c: new file
    * ext/-test-/thread_fd_close/depend: ditto
    * ext/-test-/thread_fd_close/extconf.rb: ditto
    * test/-ext-/thread_fd_close/test_thread_fd_close.rb: new test
    * properties.

  Added directories:
    branches/ruby_2_3/ext/-test-/thread_fd_close/
    branches/ruby_2_3/test/-ext-/thread_fd_close/
  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/eval.c
    branches/ruby_2_3/ext/-test-/thread_fd_close/depend
    branches/ruby_2_3/ext/-test-/thread_fd_close/extconf.rb
    branches/ruby_2_3/ext/-test-/thread_fd_close/thread_fd_close.c
    branches/ruby_2_3/test/-ext-/thread_fd_close/test_thread_fd_close.rb
    branches/ruby_2_3/thread.c
    branches/ruby_2_3/version.h


More information about the ruby-cvs mailing list