Hi,

At Sat, 8 Nov 2008 09:55:59 +0900,
Roger Pack wrote in [ruby-core:19731]:
> I'm sure this has been discussed before, but...should there be
> anything to help in the case that two threads require the same file at
> the same time [i.e. the second thread requires a file while a first is
> still loading it and thus continues assuming the file was successfully
> loaded]?

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.

-- 
Nobu Nakada