On Fri, Jun 27, 2008 at 5:20 PM, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote: > Robert, > > We are making modifications to the scene graph from the application/GUI > thread, and we create a "Graphics" thread that runs the frame() loop. We > also have our own mutex which we lock() while frame() is being called, > or while modifying the scene graph from the GUI thread. There are also > times that the Graphics thread will call some of the same functions that > lock() this mutex, via OSG Node Cull callbacks, camera final draw > callbacks, etc. As I said before, our CompositeViewer is set to > SINGLE_THREADED. > > My question is, if I am not calling frame() and modifying the scene in > the GUI thread at the same time, is it necessary to call > stopThreading/startThreading?
If your frame loop is running single threaded then stopTheading/startThreading will do nothing whatso ever. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

