2 Jul 22:37
[ruby-core:24120] [Bug #1717] Thread local variables not visible from within a Fiber
Muhammad Ali <redmine <at> ruby-lang.org>
2009-07-02 20:37:17 GMT
2009-07-02 20:37:17 GMT
Bug #1717: Thread local variables not visible from within a Fiber http://redmine.ruby-lang.org/issues/show/1717 Author: Muhammad Ali Status: Open, Priority: Normal Category: core ruby -v: ruby 1.9.1p129 (2009-05-12 revision 23412) [i686-linux] # Given the following: Thread.current[:x] = 1 Fiber.new{Thread.current[:x]}.resume # => nil # returns nil when it should return 1 # even though Thread.current returns the same object ---------------------------------------- http://redmine.ruby-lang.org
RSS Feed