Hi Alex,
Most of the plugins are now thread safe, or when they aren't they have
a mutex to serialize access to them.
In OSG-2.8 onwards the DatabasePager itself is able to use mulitple
threads to do reading so it requires the plugins to be thread safe.
Robert.
On Fri, Jul 17, 2009 at 7:05 PM, Pecoraro, Alexander
Nalexander.n.pecor...@lmco.com wrote:
Is the function osgDB::readNodeFile thread safe?
I seem to remember in previous versions of the OSG API that the
osgDB::DatabasePager would use a mutex to prevent threading issues when
calling readNodeFile(), but in 2.8.0 it doesn’t seem to do that anymore.
Just wondering because I’m working on some conversion software that uses
multiple threads and needs to call readNodeFile quite often.
Thanks.
Alex
___
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