This example don't work, it's normal ?

pigeon% cat b.rb
#!/usr/bin/ruby
autoload 'Tt', 'tt'
a = Thread.start do
   Tt.new
end
b = Thread.start do
   Tt.new
end
a.join
b.join
pigeon% 

pigeon% cat tt.rb
class Tt
   def initialize
      print "init\n"
   end
end
pigeon%
 
pigeon% b.rb
init
./b.rb:7: uninitialized constant Tt (NameError)
        from ./b.rb:10:in `join'
        from ./b.rb:10
pigeon% 



Guy Decoux