Hello All:

Please find  the modification I have made on Snow Leopard 10.5 deployment for 
the Config file in OpenThreads.  It is important to note that nothing crashes 
until you do a Qt GUI Framework use of OSG.  All the command line things run 
fine.  So,  in order to create a consistent run on all platforms on the MAC I 
reverted the check for the DEPLOYMENT version and just used the default of 
_OPENTHREADS_ATOMIC_USE_MUTEX.  I setup the _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC 
to work like everyone else where if you want it then unselect it and define it.



Take care

Garrett Potts


#ifndef _OPENTHREADS_CONFIG
#define _OPENTHREADS_CONFIG

#include <AvailabilityMacros.h>

#define _OPENTHREADS_ATOMIC_USE_MUTEX
/* #undef _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC */
/* #undef _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS */
/* #undef _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS */
/* #undef _OPENTHREADS_ATOMIC_USE_SUN */
/* #undef _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED */
/* #undef _OPENTHREADS_ATOMIC_USE_MUTEX */

#endif

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to