mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00

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
|