Project

General

Profile

« Previous | Next » 

Revision fffe09dd

Added by yugui (Yuki Sonoda) over 14 years ago

merges r31577 from trunk into ruby_1_9_2.

  • cont.c (cont_init): clear macihne_stack_start/end of saved thread to
    prevent mark machine stack of GC'ed Thread. root Fiber is not initialized by
    fiber_init(). based on a patch by Serge Balyuk [ruby-core:35891] fixes #4612
  • test/ruby/test_fiber.rb (test_gc_root_fiber): add test for it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e