Hi Serge, I have been contemplating having a thread pool in osgDB::DatabasePager for a while. I have already done the work to enable the plugins to be used multi-threaded - so the key operations in osgDB::Registry should be thread safe and the main plugins like .ive and .osg are also thread safe. Plugins that arn't thread safe need to have reentrant mutex to protect them - the OpenFlight plugin being just one example.
Robert. On 1/11/07, Serge Lages <[EMAIL PROTECTED]> wrote:
Hi all, I was just wondering if anyone is interest by this feature: allowing the database pager to manage a thread pool to load multiple objects at the same time. Is it planed for one day (short or long term) ? And Robert, do you have any idea on the complexity to implement it ? Should it ask a huge refactoring ? The first probem that I saw is the plug-ins not being thread safe... :/ -- Serge Lages http://www.magrathea-engine.org _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
