Any recommandations or suggestions on how to implement it ?
I tried doing something by using multiple threads into my plug-in, but it
means using a lot of tricks to get it works correctly, so I should take a
look directly into Database pager, it should be a lot more clean. :)

On 1/11/07, Robert Osfield <[EMAIL PROTECTED]> wrote:

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/




--
Serge Lages
http://www.magrathea-engine.org
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to