Hi Stephan,

On 2/14/07, Stephan Maximilian Huber <[EMAIL PROTECTED]> wrote:
Here are the results for osgviewer, pressing 2 x s, press 1 x h:

osgviewer cow.osg --SingleThreaded     OK
osgviewer cow.osg --CullDrawThreadPerContext  OK
osgviewer cow.osg --CullThreadPerCameraDrawThreadPerContext CRASH
osgviewer cow.osg --DrawThreadPerContext CRASH

OK, this is progress, it confirms that it is the double buffering of
SceneView, and hence multi-theaded access to osg::Stats that is the
problem.  I have understand this problem and will be able to fix it,
hopefully without resorting to a mutex.

I don't know why the OSG_THREADING env-var did not work...

I have just reviewed the code (src/osgViewer/Viewer.cpp) that checks
the OSG_THREADING and it looks OK to me, I did test it when I added
the code at worked then.  Any chance you could put some debug info in
the Viewer::suggestBestThreadingModel() so to see why it might be
failing.

Thanks,
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to