On 5/9/06, Robert Engels <[EMAIL PROTECTED]> wrote:
I am fairly certain his code is ok, since it rechecks the initialized state in the synchronized block before initializing.
That "recheck" is why the pattern (or anti-pattern) is called double-checked locking :-) -Yonik http://incubator.apache.org/solr Solr, the open-source Lucene search server --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]