From: SASADA Koichi Date: 2014-10-16T13:25:22+09:00 Subject: [ruby-core:65744] Re: [ruby-cvs:55108] normal:r47959 (trunk): cont.c: Remove unused prev_fiber/next_fiber fields Disable FIBER_USE_NATIVE works fine. On 2014/10/16 13:22, SASADA Koichi wrote: > FYI: > > These double linked list were introduced to clean-up all active Fibers > to guarantee the ensure process. > > Fiber.new{ > begin > Fiber.yield > ensure > do_something > end > }.resume > > # exit process, and "do_something" is expected. > > However, currently "do_something" is not called because of difficulty of > implementation. > > > On 2014/10/16 7:34, normal@ruby-lang.org wrote: >> normal 2014-10-16 07:34:30 +0900 (Thu, 16 Oct 2014) >> >> New Revision: 47959 >> >> http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47959 >> >> Log: >> cont.c: Remove unused prev_fiber/next_fiber fields >> >> They were added in r19890 (8a0d53a), with the explanation that it's a >> double linked list of fibers in the same thread, but without any code >> using them. >> >> * cont.c (rb_fiber_t): remove prev_fiber/next_fiber >> (fiber_link_join, fiber_link_remove): remove functions >> (fiber_free, fiber_init, root_fiber_alloc): >> remove references to removed fields and functions >> [ruby-core:65518] [Feature #10341] >> >> Author: Knut Franke >> >> Modified files: >> trunk/ChangeLog >> trunk/cont.c >> > > -- // SASADA Koichi at atdot dot net