From: Charles Oliver Nutter Date: 2008-12-22T07:47:28+09:00 Subject: [ruby-core:20771] Re: use of require thread safety Gary Wright wrote: > I admit to not thinking about this too much but shouldn't there be a > global lock on things like require and load? If it isn't enforced by > Ruby itself, I would think that a properly designed multi-threaded > application shouldn't have multiple threads contending for access to > global state without proper locking. It certainly could, but that is a behavioral change; there's no way to require files in separate threads at the same time. Of course, maybe it's a bad idea to allow that in the first place. - Charlie