Re: [CLucene-dev] Multithreaded write and search

2010-04-23 Thread Veit Jahns
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

Re: [CLucene-dev] Multithreaded write and search

2010-04-16 Thread Veit Jahns
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

Re: [CLucene-dev] Multithreaded write and search

2010-04-15 Thread Itamar Syn-Hershko
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

Re: [CLucene-dev] Multithreaded write and search

2010-04-14 Thread Veit Jahns
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

Re: [CLucene-dev] Multithreaded write and search

2010-03-24 Thread Veit Jahns
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

Re: [CLucene-dev] Multithreaded write and search

2010-03-23 Thread Itamar Syn-Hershko
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

[CLucene-dev] Multithreaded write and search

2010-03-19 Thread Veit Jahns
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