Hi Melchoir et al.

On Mon, Feb 9, 2009 at 5:00 PM, Melchior FRANZ <[email protected]> wrote:
>> Are you around for the rest of the day?  Can I push a testing question
>> of new code in your direction?
>
> Yes, and sure. But note that I can't reproduce it with every fgfs run.
> I'd have to run fgfs dozens of times and "hope" that it segfaults.

I have now checked in my changes to osgParticle::ParticleSystem to
have an optional compile path for either the use of the
OpenThreads::ReadWriteMutex or a OpenThreads::Mutex, with the standard
Mutex now being the default.  An svn update to the OSG-2.8 branch will
get you these changes.

Changing to mutex solves the valigrind/helgrind warnings when you run
osgparticleeffects in SingleThreaded.  I still see helgrind errors if
run osgviewer cow.osg multi-threaded with lots of warnings in GL or
osgViewer.  I suspect most of these errors are benign though, the
design of osgViewer is that it can accomodate not completely guarded
data structures as the high level frame synchronisation of threads
should avoid most issues.

Could you test out these changes and let me know how you get on,

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

Reply via email to