Hi Alex, On Mon, Feb 9, 2009 at 11:41 PM, Pecoraro, Alexander N <alexander.n.pecor...@lmco.com> wrote: > On my Linux box it was set to: > > _OPENTHREADS_ATOMIC_USE_MUTEX > > I'm going to see if switching to ATOMIC_USE_GCC_BUILTINS works better.
The atomic built ins are far more efficient than using mutexes. My guess is that you'll need to set the machine architecture to 486 or above, RedHat/cmake must be setting it to be setting it to 386. You may find that later rev's of RedHat might automatically set the architecture to something above 386, my Kubuntu systems certainly do - on both my 32bit and 64bit systems. > On my Windows box it was set to: > > _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED > > Is that the best choice for Windows? Yes, I believe this is the best choice for windows. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org