[osg-users] DatabasePager priority simplifier and stats added

christophe loustaunau christophe.loustaunau at gmail.com
Tue Sep 4 01:28:51 PDT 2007


It works now !

Tanks !
Christophe



2007/9/4, Zach Deedler <mynamezach at gmail.com>:
>
>  Or you can set the windows environment variable:
>
> set OSG_DATABASE_PAGER_PRIORITY=HIGH
>
>
>
> (or set it in the system settings; Start Menu->Control
> Panel->System->Advanced->Environment Variables)
>
>
>  ------------------------------
>
> *From:* osg-users-bounces at lists.openscenegraph.org [mailto:
> osg-users-bounces at lists.openscenegraph.org] *On Behalf Of *Serge Lages
> *Sent:* Monday, September 03, 2007 12:03 PM
> *To:* osg-users at lists.openscenegraph.org
> *Subject:* Re: [osg-users] DatabasePager priority simplifier and stats
> added
>
>
>
> Hi Christophe,
>
> On 9/3/07, *christophe loustaunau* <christophe.loustaunau at gmail.com>
> wrote:
>
>  Hello,
>
>
>
> I wan't to test the new databasePager priority, but I don't know how to
> use it...
>
>
>
> If I do :
>
> export OSG_DATABASE_PAGER_PRIORITY=HIGH;
>
>
>
> I have some errors like :
>
>
>
> warning C4237: 'export' keyword is not yet supported, but reserved for
> future use
>
> error C2146: syntax error : missing ';' before identifier
> 'OSG_DATABASE_PAGER_PRIORITY'
>
>
>
>
>
> What I am doing wrong ?
>
>
>
>
> export OSG_DATABASE_PAGER_PRIORITY=HIGH is the Linux way to set an
> environment variable.
> If you want to set it into your code, you should try something like:
> viewer.getDatabasePager
> ()->setScedulePriority(OpenThreads::THREAD_PRIORITY_*);
> (setting THREAD_PRIORITY_* the value you want).
>
> --
> Serge Lages
> http://www.magrathea-engine.org
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070904/a513a709/attachment-0003.htm>


More information about the osg-users mailing list