[#66126] Creation/Conversion methods/functions table for Ruby types — SASADA Koichi <ko1@...>
Hi,
5 messages
2014/11/07
[#66248] [ruby-trunk - Feature #10423] [PATCH] opt_str_lit*: avoid literal string allocations — normalperson@...
Issue #10423 has been updated by Eric Wong.
3 messages
2014/11/13
[#66595] [ruby-trunk - Bug #10557] [Open] Block not given when the argument is a string — bartosz@...
Issue #10557 has been reported by Bartosz Kopinski.
3 messages
2014/11/30
[ruby-core:66441] Re: [ruby-trunk - Bug #10540] [Open] Yielded fibers do not execute ensure blocks
From:
Eric Wong <normalperson@...>
Date:
2014-11-24 21:05:30 UTC
List:
ruby-core #66441
This seems unfortunate. I'm not sure if there's a good way to do
this automatically with current APIs because Fibers require
explicit scheduling.
Perhaps storing Fibers in Thread.current and having a
terminate_all_fibers method can be helpful:
Thread.new do
begin
do_something_which_creates_fibers
ensure
# all thread-local fibers are resumed until they're dead
terminate_all_fibers
end
end