[ruby-cvs:65169] naruse:r58003 (ruby_2_4): merge revision(s) 57968, 57969, 57970: [Backport #13313]

naruse at ruby-lang.org naruse at ruby-lang.org
Fri Mar 17 16:06:50 JST 2017


naruse	2017-03-17 16:06:50 +0900 (Fri, 17 Mar 2017)

  New Revision: 58003

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

  Log:
    merge revision(s) 57968,57969,57970: [Backport #13313]
    
    thread.c: thread_do_start
    
    * thread.c (thread_do_start): extract from a macro in
      thread_start_func_2 for debugger.
    thread.c: Thread.start with Symbol
    
    * thread.c (thread_do_start): fix segfault at start with Symbol.
      proc created by Symbol#to_proc does not have environment unless
      using refinements.  [ruby-core:80147] [Bug #13313]
    Fiber also has same issue. [Bug #13313]
    
    * thread.c (rb_vm_proc_local_ep): added.
    
    * cont.c (rb_fiber_start): use rb_vm_proc_local_ep().

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/cont.c
    branches/ruby_2_4/test/ruby/test_fiber.rb
    branches/ruby_2_4/test/ruby/test_thread.rb
    branches/ruby_2_4/thread.c
    branches/ruby_2_4/version.h
    branches/ruby_2_4/vm_core.h


More information about the ruby-cvs mailing list