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
N<[email protected]> 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
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to