Hi Garret and Stephan,

I presume this suggested Config change is for

   OpenSceneGraph/Xcode/config/OpenThreads/Config

And so is under the Xcode directories that Stephan maintains, so I'll
defer to Stephan for review and merge of this suggested change.

A note for Garret, the old Xcode project files are deprecated and it's
planned to move over to use CMake for all platforms.  CMake selects
the appropriate mutex type which hopefully want cause any of the
problems that you've seen, but would be worth checking and it does
then investigating exactly why.

Cheers,
Robert.


On Mon, Jan 25, 2010 at 12:04 PM, Garrett Potts <[email protected]> wrote:
> 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
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to