Boost logo

Boost :

Subject: [boost] [atomic] Constraints on failure_order?
From: Bjorn Reese (breese_at_[hidden])
Date: 2014-05-05 14:55:08

According to [1]:

  "The compare_exchange_weak/compare_exchange_strong variants taking
   four parameters differ from the three parameter variants in that they
   allow a different memory ordering constraint to be specified in case
   the operation fails."

According to std::atomic there are some constaints on failure_order. Is
this also the case for boost::atomic?


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