Hi Robert,
i am using 2.8.2

The method getParentalNodePaths is used to retrieve the parent node paths.

This is done in the database pager thread. However these node paths might 
change while traversing them, because the user may change the scenegraph in the 
update loop.

Richard


-----Ursprüngliche Nachricht-----
Von: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] Im Auftrag von Robert 
Osfield
Gesendet: Mittwoch, 24. März 2010 15:45
An: OpenSceneGraph Users
Betreff: Re: [osg-users] Error in Databasepager::run

Hi Richard,

On Wed, Mar 24, 2010 at 2:00 PM, Schmidt, Richard
<richard.schm...@eads.com> wrote:
> there is an error in the osgDB::Databasepager::run method.
>
> groupForAddingLoadedSubgraph->getParentalNodePaths();
>
> Is not threadsafe, because the user might delete a parent of
> groupForAddingLoaded in the UpdateTraversal.

Which version of the OSG you looking at?  svn/trunk has been
significantly re-factored to deal with various different cases where
threading issues were causing problems before.

So if you aren't using svn/trunk then try it out, if you think
svn/trunk is still not thread safe then could you be a bit more
specific about which parts you think might not be thread safe.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to