>I have a multithread application which might update an node
>(add/remove children etc) at the same time

Safer/easier to have a global lock for the whole entire scene-graph,
rather than trying to lock a particular node.
Even if one node is locked, you might forget to lock its parent or children.
And even if you add more per-node locks, that creates potential for deadlocks.

--
Jim Brooks
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to