Hi Jan, The thread has to have it's affinity set for it to have an affinity to a cpu core, so you if are creating your own threads and not setting their affinity they won't have any and should more from core to core according to what the OS decides.
The only thread I expect will have affinity to a particular core will be the viewer ones. Using Qt threads it sounds like is not implementing affinity so rather than working as expected it really just isn't working as it should. It rather seems like your expectations are a bit off and the OSG was doing the write thing in the first place. Robert. On 10 December 2013 13:55, Jan Klimke <[email protected]> wrote: > Hi Robert, > > actually this piece of code from pthreads.cpp was the only one that was > containing the word "affinity". :-) so that was just a guess that this > could be the problem. > > Nevertheless i was not able to understand why the whole application did > not receive the process affinity mask with only one CPU activated after i > recompiled osg with BUILD_USE_QTTHREADS enabled in CMAKE. May conclusion > was: The way i built openthreads before caused the affinity mask for the > overall process beeing set like this. > > That means: After i rebuilt osg with qtthreads every just work like > expected. > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=57637#57637 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

