Hi there...

I think a lot of people are facing the same problem than me:

- My application is multithreaded
- I may use multiple 3D windows, with multiple "views", based on a single
OSG graph (multiple threads accessing the graph to draw)
- I have a script thread performing modifications on the graph

The only solution I figured out to prevent dead locks until now is to use a
BIG mutex to prevent script execution while drawing a frame in a window...
but, the performance are very low, so I really need to understand: What's
the best solution for multithread access to an OSG graph ???

by the way, aren't visitors supposed to be able to traverse the graph
without locking it before ??

regards,

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

Reply via email to