[ruby-cvs:66378] ko1:r59200 (trunk): introduce rb_fiber_t::first_proc.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Jun 29 00:25:30 JST 2017


ko1	2017-06-29 00:25:30 +0900 (Thu, 29 Jun 2017)

  New Revision: 59200

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

  Log:
    introduce rb_fiber_t::first_proc.
    
    * cont.c (rb_fiber_t): add rb_fiber_t::first_proc and do not use
      rb_thread_t::first_proc which should be thread local.
      [Bug #13689]
    
    * test/ruby/test_thread.rb: test for [Bug #13689].

  Modified files:
    trunk/cont.c
    trunk/test/ruby/test_thread.rb


More information about the ruby-cvs mailing list