I'm attempting to call Thread::setProcessorAffinity() by doing the following:
Code: mThread->setProcessorAffinity(cpuNum); In looking at this code, I'm seeing the affinity is only set by this call if the following condition is true: Code: if (pd->isRunning && Thread::CurrentThread()==this) I'm seeing that Thread::CurrentThread() is not equal to "this". Do I understand this correctly in that I need to be inside the particular thread in order for me to change its affinity? Or I could set the affinity before starting the thread. Correct? Paul P. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=33864#33864 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org