Boost logo

Boost :

Subject: Re: [boost] [lockfree] arm / iOS builds against Boost.Atomic
From: Tim Blechmann (tim_at_[hidden])
Date: 2013-05-15 00:35:40


> I noticed today when moving my work from OS X / clang / libc++ to iOS /
> clang / libc++ that Boost.Lockfree must link against libboost_atomic.a to
> compile. This shouldn't be necessary, since there is std::atomic on iOS as
> well.

i don't have access to this specific toolchain, so it is probably using
boost::atomic instead of std::atomic ... however please note that
linking with boost.atomic means that the data structure that you want to
use is not going to be lock-free, but atomics are emulated via spin locks.

> If this is correct I can file a bug report, provide a test application, or
> both if requested.


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