23 Sep
2013
23 Sep
'13
12:02 p.m.
Andrey Semashev wrote:
Also, intrin.h is an MSVC-specific header and I'm not sure it's portable across different versions of MinGW.
In the long term it might be worthwhile to use gcc atomic intrinsics to implement BOOST_INTERLOCKED* macros.
BOOST_INTERLOCKED_* are not supposed to be implemented. If Boost.Thread uses them instead of the appropriate gcc atomics, this is a problem in Boost.Thread, not in interlocked.hpp.