Hi Itamar!
2010/4/16 Itamar Syn-Hershko :
> Apparently Ben has been working on the same issues on his branch. I applied
> your patches along with his work, plus some more cleanup, into the
> atomicthreads branch. Unfortunately, while it compiles and runs perfectly
> well on Win32, it throws Segmen
Hi Itamar!
2010/4/16 Itamar Syn-Hershko :
> Apparently Ben has been working on the same issues on his branch. I applied
> your patches along with his work, plus some more cleanup, into the
> atomicthreads branch. Unfortunately, while it compiles and runs perfectly
> well on Win32, it throws Segmen
2010 3:46 PM
To: clucene-developers@lists.sourceforge.net
Subject: Re: [CLucene-dev] Multithreaded write and search
Itamar and all,
attached the patches solving this issue.
- ThreadLocal.cpp.diff: Unregistering the current thread, if a thread local
storage is destroyed.
- FieldsReader.cpp.diff
Itamar and all,
attached the patches solving this issue.
- ThreadLocal.cpp.diff: Unregistering the current thread, if a thread
local storage is destroyed.
- FieldsReader.cpp.diff: One of my colleagues observed that
uninitialized variables may also lead to crashes in this scenario too.
In particul
Itamar,
thank you for your answer!
> What OS / compiler were you testing this with?
I tested with Vista/VS9 and Linux/gcc-4.4.1. This error occurs with
both OS/compilers.
> I'm not sure, but this could
> be due to the same threading issue we already aware of. Were you able to run
> the atomic t
Sent: Friday, March 19, 2010 1:01 PM
To: clucene-developers@lists.sourceforge.net
Subject: [CLucene-dev] Multithreaded write and search
Dear all,
in our application we have several threads writing and searching on the
index. Writing and searching isn't a problem as long the IndexSearcher isn
Dear all,
in our application we have several threads writing and searching on
the index. Writing and searching isn't a problem as long the
IndexSearcher isn't updated,i.e. deleting the old and creating a new
IndexSearcher. But if the IndexSearcher is updated, then the
application crashes. Not ever