Boost logo

Boost :

Subject: Re: [boost] ARM thumb support in spinlock_gcc_arm.hpp
From: Jerry Napoli (jnapoli_at_[hidden])
Date: 2008-09-05 22:45:13


>
> I assume you mean spinlock_nt.hpp?
>

No, spinlock_pt.hpp. The darwin os on iPhone supports pthreads so this
works.

> Unless someone comes up with a better solution, we probably need to replace
>
> #if defined(__GNUC__) && defined( __arm__ )
> # include <boost/detail/spinlock_gcc_arm.hpp>
> #elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 )
> # include <boost/detail/spinlock_sync.hpp>
>
> with
>
> #if defined(__GNUC__) && defined( __arm__ ) && !defined( __thumb__ )
> # include <boost/detail/spinlock_gcc_arm.hpp>
> #elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) &&
> !defined( __arm__ )
> # include <boost/detail/spinlock_sync.hpp>
>
> Does this change help?

Yes, this is perfect. Thanks!

> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk