
30 Jun
2011
30 Jun
'11
7:52 a.m.
unfortunately i do not know any compiler which already implements c++0x atomics, so if your platform is supported by boost.atomic, it is probably the best solution until real c++0x atomics are widely available ...
I'm happily using c++0x atomics with g++ and libstdc++ 4.6.0 and haven't found any missing bits yet.
the implementation is incomplete (compare [1]). compiling boost.lockfree with g++-4.6 using c++0x atomics results in lots of undefined references to std::atomic<> members ... tim [1] http://gcc.gnu.org/projects/cxx0x.html