
On Sat, Sep 6, 2008 at 3:45 AM, Jerry Napoli <jnapoli@iteamsolutions.com> wrote:
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!
I hit the same problem today, and googled my way to this thread. Suggestion works perfectly - thanks. Does anyone know if this modification, or something similar, is going to be/ has been committed to the main line (I just have my own locally patched copy for now)? Thanks and regards, [)o IhIL..