c++11: how to produce "spurious failures" upon compare_exchange_weak?
Is there a way that we can write some code to produce a "spurious failures" for the "weak" version of compare_exchange? While the same code should wor ...