Hallo

1) My program uses multiple threads which access the same node object returned 
by osgDB::readNodeFile(). Is the access to this object thread safe? My program 
doesn't change the object directly but I don't know if OSG changes the object 
or a cache or something similar. If so, it might be necessary to lock the 
access to this object.

2) Multiple threads will call osgDB::readNodeFile() simultaneously. Is there a 
need to lock threads away when a thread is using this method? In the OSG code I 
saw that the caching mechanism is thread safe. I couldn't really figure out 
though if this is enough to let every thread use that function at-will.

I use OSG 3.0.1.1

Thank you very much in advance!

Cheers,
for

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61896#61896





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

Reply via email to