From: Roger Pack Date: 2009-12-10T05:10:51+09:00 Subject: Re: Thread-local variables in Fibers > Even though, Thread.current is the same in a fiber as in the thread > invoking Fiber#resume. > > irb(main):003:0> Fiber.new { Thread.current }.resume == Thread.current > => true > > Can anyone shed some light? I couldn't find any information in the > documentation. There was some discussion on this in core. I can't remember if there was consensus or not, but one person suggested it may be "intended" so that you don't accidentally have fibers cross-using Thread.current[] for their store, which wouldn't be fiber specific. -r -- Posted via http://www.ruby-forum.com/.