OpenThreads seems like the more appropriate place for this.  Also, note that Producer::Cameras _are_ Threads, which would allow us to set processor affinity directly on the Camera and even specify it in the camera config file. 

I'm told by NVidia that their drivers benefit from the use of threads for mutliple graphics contexts even when there is only a single CPU.  I'm told that this is especially beneficial for their new wiener dog box.

-don

On 8/8/06, Robert Osfield <[EMAIL PROTECTED]> wrote:
Hi Don,

On 8/8/06, Don Burns <[EMAIL PROTECTED]> wrote:
> Are you calling OS specific processor calls in OSG? or are you using
> OpenThreads::Thread::setProcessorAffinity() ?

I'm currently use OS specific calls in osgProducer::OsgCameraGroup's
realize callback.  The pthread implementation of OpenThreads is a no
op except under IRIX.

Once things look like they are working fine I'll push this code into
OpenThreads.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to