I believe that in principal the osgdb framework supports multithreaded loading, but in practice it depends on which import plugin you are using. I know that (for example) the .ply plugin has some static variables that make it not threadsafe. Perhaps there are also runtime or compile time flags that are required to enable locking in osgdb?

On 7/25/2012 9:06 AM, Koduri Lakshmi wrote:
Hi,

I have to read more than one OSG file. So I used multiple threads. But I am 
getting runtime error some times.

Does "osgDB::readNodeFile" will support multi threading? Or is ther any error 
in my code (begiven in previous post).

I am using VC++ and OSG-3.0.1.

Is there any other way which can I read files more faster?

Can any one please help me?
...

Thank you!

Cheers,
Koduri

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




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


--
Peter Amstutz
Senior Software Engineer
Technology Solutions Experts
Natick, MA
02131

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

Reply via email to