From: Charles Oliver Nutter Date: 2009-01-29T12:28:54+09:00 Subject: [ruby-core:21651] Re: use of require thread safety Nobuyoshi Nakada wrote: > While a thread is requiring a given file, another thread which > requires the same file will be blocked until the former thread > finishes loading, and the result will be false. I never got an answer about whether this is now specified behavior. Keep in mind this can lead to deadlocks if there are circular requires. If there is only a single lock for all requires, then it could prevent valid cases of multiple threads requiring their own dependencies. But that might not be so bad. We really need an answer on how concurrent requires are supposed to behave. - Charlie