Hi WeSee, On 20 November 2014 14:57, We See <[email protected]> wrote:Subclassing does not work, because addDatabaseThread() is called from the constructor of DatabasePager and calls therefore DatabasePager::addDatabaseThread() instead my overrided method.
Interesting problem. Delaying the call to adding the threads would be one way around this. This would of course require. Calling DatabasePager::setUpThreads(..) manually would be a crude workaround using the present code too. Using DatabasePager::getDatabaseThread(i) method and set the affinity with > setProcessorAffinity() was also not successful. I don't exactly know why, > but maybe it is because the method must be called before the thread is > started. > What platform are you working on? > Could you send me an example, how to change the processor-affinitiy with > your proposals? I have no more ideas, how do get this working, except with > my submission... > I have dozens of other submissions I'm working through right now so writing test examples for individual end users isn't something I can do right now. Robert.
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
