Hi Stefan,

On Mon, Feb 9, 2009 at 5:37 PM, Stefan Roettger <[email protected]> wrote:
> Just my 2 eurocents: We were using openthreads to lock a crew of worker
> threads which were accessing a shared file cache locked with a mutex. We got
> a crash every once in a while. To check for the problem we changed the code
> to use tbb (thread building blocks). After that it did not crash anymore. It
> is too long ago to recall the details (not much of a help to nail it down
> either, sorry :), but I would agree to point my finger to core openthreads
> and not valgrind/helgrind/osgparticle etc.

Did you use an OpenThreads::Mutex or ReadWriteMutex in your shared
file cache?  As far as I know OpenThreads::Mutex is sound, but
ReadWriteMutex does look unsound as it stands.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to