Re: Race condition in RefCounted?

2007-05-29 Thread Kay Röpke
r own code base and for us this doesn't hold true (we are not using Solr, though). Good to know that I'm not paranoid and that Solr doesn't have that problem :) Thanks, -k -- Kay Röpke http://www.epublica.de epublica GmbH, Gänsemarkt 43, 20354 Hamburg, Tel. +49 (0)40/41098

Race condition in RefCounted?

2007-05-29 Thread Kay Röpke
ng locks around incrementAndGet() and decrementAndGet(), close() somewhat defeats the elegance of RefCounted. One might play tricks with various checks of refcount, but I haven't completely thought that one through yet, so it might not work at all. cheers, -k -- Kay Röpke http://www.epubli