threads/fixtures/slow_autoload.rb
tests/_examples/threads/fixtures/slow_autoload.rb in the metorex repository.
Holder.recorded << :pre
Thread.current[:loading] = true
sleep 0.1
module Holder
Loaded = 1
end
Holder.recorded << :post
tests/_examples/threads/fixtures/slow_autoload.rb in the metorex repository.
Holder.recorded << :pre
Thread.current[:loading] = true
sleep 0.1
module Holder
Loaded = 1
end
Holder.recorded << :post