Issue #4480 has been updated by Hiroshi Nakamura.

Category set to DOC
Target version changed from 1.9.2 to 1.9.3

Updated RDoc at r32260 based on Andrei's patch. I just wanted to remove Thread.main thing to concentrate Thread#[] behavior. Thanks!
----------------------------------------
Bug #4480: Thread-local variables issue: Thread#[] returns nil when called first time
http://redmine.ruby-lang.org/issues/4480

Author: Andrei Kulakov
Status: Assigned
Priority: Normal
Assignee: Hiroshi Nakamura
Category: DOC
Target version: 1.9.3
ruby -v: -


=begin
In ruby 1.9.2p180
 t = Thread.new do
   Thread.current[:var] = "var"
   Thread.stop
 end
 
 p t[:var] #=> nil
 p t[:var] #=> "var"

In ruby 1.8.7
 p t[:var] #=> "var"
 p t[:var] #=> "var"
=end



-- 
http://redmine.ruby-lang.org