Hi Robert,
In the attached files I have added the possibility of changing the CPU-affinity 
of DatabaseThreads in DatabasePager.

I added two new methods:
void setDatabasePagerThreadCpuNum(int cpuNum) sets the CPU the DatabaseThreads 
should run.

int getDatabasePagerThreadCpuNum() returns the CPU the DatabaseThreads should 
run.

In DatabasePager::DatabaseThread::run() the CPU will be changed according the 
cpuNum set. If cpuNum is -1 (= default-value) the CPU will not be changed.

It would be nice you could merge this changes into trunk.


Thank you!

Cheers,
WeSee

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=57042#57042




Attachments: 
http://forum.openscenegraph.org//files/databasepager_631.cpp
http://forum.openscenegraph.org//files/2974_1383321093._426.


_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to