[ruby-cvs:66473] nagachika:r59295 (ruby_2_4): merge revision(s) 59030, 59031: [Backport #13638]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Mon Jul 10 04:36:49 JST 2017


nagachika	2017-07-10 04:36:49 +0900 (Mon, 10 Jul 2017)

  New Revision: 59295

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

  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_4/ext/-test-/thread_fd_close/
    branches/ruby_2_4/test/-ext-/thread_fd_close/
  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/ext/-test-/thread_fd_close/depend
    branches/ruby_2_4/ext/-test-/thread_fd_close/extconf.rb
    branches/ruby_2_4/ext/-test-/thread_fd_close/thread_fd_close.c
    branches/ruby_2_4/test/-ext-/thread_fd_close/test_thread_fd_close.rb
    branches/ruby_2_4/thread.c
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list