Hi Robert,

You said that you were working with shaders. A race condition that looks like 
the Texture2D::setImage example above can also happen with shaders in .osg 
files:
The method Shader_readLocalData can get shaders out of a cache when files are 
referenced. Then later in Program::addShader the program will call 
shader->addProgramRef which does not look thread safe to me.


Cheers,
Pjotr

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





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

Reply via email to