Boost logo

Boost :

Subject: Re: [boost] [1.53] request to merge lockfree (c++11 only)
From: Tim Blechmann (tim_at_[hidden])
Date: 2012-11-16 08:48:24


>> the architecture of boost.lockfree is modular, so once boost.atomic is
>> merged, it is trivial to use it again and allow use of the library with
>> pre-c++11 compilers ...
>> this is far from ideal, but boost.atomic has been blocking the release of
>> boost.lockfree for a long time and it doesn't look like that it will be
>> available before std::atomic<> is widely supported ...
>
> I'd ask to leave it configurable as some people (like me) rely on using the
> non-released boost.atomics library for older compilers (shipped with our
> stuff) and we would like to avoid having to mix boost::atomics and
> std::atomics just to be able to use boost.lockfree as well.

i'll probably introduce a preprocessor symbol like
BOOST_LOCKFREE_USE_BOOST_ATOMIC that could be used, if the user provides
boost.atomic manually ...

tim


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