Boost logo

Boost :

Subject: [boost] [atomic] lockfree failure on msvc 64-bit
From: Christoph Macheiner (christoph.macheiner_at_[hidden])
Date: 2012-08-27 13:01:12

As indicated by

In boost/atomic/detail/interlocked.hpp, BOOST_ATOMIC_LLONG_LOCK_FREE must be
defined to 2 if _WIN64 is defined (cas64strong.hpp is included afterwards).
Because the library has not yet been released, I didn't bother to create a
ticket and because the change is so trivial I didn't create a patch as well
(if either or both is required or wanted, please let me know).

Question: If I recall correctly, long long can be made lockfree also in
32-bit. If I am right, is there a reason why it hasn't been done?


Boost list run by bdawes at, gregod at, cpdaniel at, john at