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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Serge Lages Sent: Monday, September 03, 2007 12:03 PM To: [email protected] Subject: Re: [osg-users] DatabasePager priority simplifier and stats added Hi Christophe, On 9/3/07, christophe loustaunau <[EMAIL PROTECTED]> 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 [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

