1 Jul
2014
1 Jul
'14
10:25 a.m.
On 1 Jul 2014 at 9:12, Adam Romanek wrote:
I'd try replacing boost::atomic with std::atomic and see if the same thing happens. Oh, and use a recent libstdc++. If it's only happening in Boost, report it as a bug.
The same happens with std::atomic from both libstdc++ [1] and libc++ [2] (I should be using pretty recent versions of these as I'm on Ubuntu 14.04). So this is not a Boost-only issue.
In this situation I'd report it to the clang thread sanitiser bug tracker. The chances are low that both Boost and a recent STL are simultaneously wrong. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/