Hi,

I came across an issue in the ObjectWrapper::findWrapper (trunk).
- application starts, list of object wrappers is empty
- two nodes are loaded simultaneously by two database pager threads
- both nodes require the same object wrapper
- one of the two threads loads the appropriate serializer which registers the 
needed object wrappers.
- this thread checks the list of object wrappers again after the plugin was 
loaded.
- these other thread (which gets PREVIOUSLY_LOADED) for the serializer plugin 
does not retry to find the requested object wrapper, but the wrapper was just 
loaded by the first thread.
- The second thread returns with a load error because no object wrapper could 
be found.

I propose the object wrapper retries to lookup the wrapper when a plugin was 
loaded or when the list of wrappers has changed. 

Cheers,
Andreas

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





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

Reply via email to