Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Synchronize calls to Autoload#resolve
When multiple threads attempt to resolve an autoload definition there's nothing guarding the checks/sets for the "@loaded" and "@thread" instance variables. By using Rubinius.synchronize we can ensure that only 1 thread at a time can autoload a constant without having to worry about recursive locking.
- Loading branch information