lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: Multiple threads searching in Lucene and the synchronized issue. -- solution attached.
Date Wed, 10 May 2006 03:57:38 GMT
On 5/9/06, Robert Engels <> 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 Solr, the open-source Lucene search server

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message