Hi Robert,

Chasing a set of bugs, I'm very sceptical about the update logic of our
application. In a nutshell, here is currently what we are doing:

        while (! done)
        {
                const double time = elapsedTime();

                updateScene(time);

                osgViewer::Viewer::frame(time);
        }


The updateScene() function makes several changes to the scenegraph
(including: changing object positions, adding new nodes, changing text,
etc).

This looks however very suspicious to me as far as thread-safety is
concerned.

Could you confirm or deny my fears?


Cheers,

Tanguy


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to