Hi Itamar!

2010/4/16 Itamar Syn-Hershko <ita...@divrei-tora.com>:
> 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 Segmentation Fault on my Ubuntu machine. Since the
> ben_working branch compiles and runs just fine, I might have overridden an
> important change while merging the various committs into something that
> makes sense, or some of your changes contradict one another. Can you look
> into that (note: Ben's branch is using Boost)?

The sent changes works on machine of one of my colleagues. He uses Ubuntu
too. But I will closer look at this branch.

> Another important thing to note is the LuceneBase class, which is being used
> by the thread-safe classes to define an _LUCENE_ATOMIC_INT to refcount with.
> This probably has impact on your smartpointers work.

As far as I know Boost's shared_ptr are thread-safe (have the same
level of thread
safety as built-in types). But I will keep this in mind.

Kind regards,

Veit

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to