Introduced OpenThreads::Affinity support into osg::Camera, osg::GraphicsContext::Traitse, osgDB::DatabasePager and osgViewer::ViewerBase/Viewer/CompositeViewer.
Added ViewerBase::configureAffinity() to help with the setting of the affinity of camera, graphics context and pager threads
This commit is contained in:
@@ -126,9 +126,9 @@ class OSGDB_EXPORT DatabasePager : public osg::NodeVisitor::DatabaseRequestHandl
|
||||
|
||||
};
|
||||
|
||||
virtual void setProcessorAffinty(const OpenThreads::Affinity& affinity);
|
||||
OpenThreads::Affinity& getProcessorAffinty() { return _affinity; }
|
||||
const OpenThreads::Affinity& getProcessorAffinty() const { return _affinity; }
|
||||
virtual void setProcessorAffinity(const OpenThreads::Affinity& affinity);
|
||||
OpenThreads::Affinity& getProcessorAffinity() { return _affinity; }
|
||||
const OpenThreads::Affinity& getProcessorAffinity() const { return _affinity; }
|
||||
|
||||
void setUpThreads(unsigned int totalNumThreads=2, unsigned int numHttpThreads=1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user