* [ruby-core:65744] Re: [ruby-cvs:55108] normal:r47959 (trunk): cont.c: Remove unused prev_fiber/next_fiber fields
[not found] ` <543F481E.5080501@ruby-lang.org>
@ 2014-10-16 4:25 ` SASADA Koichi
0 siblings, 0 replies; only message in thread
From: SASADA Koichi @ 2014-10-16 4:25 UTC (permalink / raw
To: ruby-core
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 <Knut.Franke@gmx.de>
>>
>> Modified files:
>> trunk/ChangeLog
>> trunk/cont.c
>>
>
>
--
// SASADA Koichi at atdot dot net
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-10-16 4:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20141015223431.E0C3F24009@fluorine.ruby-lang.org>
[not found] ` <543F481E.5080501@ruby-lang.org>
2014-10-16 4:25 ` [ruby-core:65744] Re: [ruby-cvs:55108] normal:r47959 (trunk): cont.c: Remove unused prev_fiber/next_fiber fields SASADA Koichi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).