mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fd6cef79f5
Object#autoload implements a custom per-thread "mutex" for blocking threads waiting on autoloading a feature. This causes problems when used with the fiber scheduler. We swap the implementation to use a Ruby mutex which is fiber aware.
3 lines
49 B
Ruby
3 lines
49 B
Ruby
sleep 0.01
|
|
module TestFiberSchedulerAutoload
|
|
end
|