Merge pull request #252 from remoe/patch-2
Avoid call of SetupThreads in DatabasePager Constructor
This commit is contained in:
commit
9f9c605422
@ -1110,10 +1110,6 @@ DatabasePager::DatabasePager()
|
|||||||
// test of setting the database threads affinity.
|
// test of setting the database threads affinity.
|
||||||
// _affinity = OpenThreads::Affinity(4,4);
|
// _affinity = OpenThreads::Affinity(4,4);
|
||||||
|
|
||||||
setUpThreads(
|
|
||||||
osg::DisplaySettings::instance()->getNumOfDatabaseThreadsHint(),
|
|
||||||
osg::DisplaySettings::instance()->getNumOfHttpDatabaseThreadsHint());
|
|
||||||
|
|
||||||
str = getenv("OSG_DATABASE_PAGER_PRIORITY");
|
str = getenv("OSG_DATABASE_PAGER_PRIORITY");
|
||||||
if (str)
|
if (str)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user