diff options
author | David Faure <david.faure@kdab.com> | 2013-10-14 16:57:32 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-02 09:52:42 +0100 |
commit | 3b48a65e99839c9427923c03b4e2a87a8465d165 (patch) | |
tree | ace418fbe952ea34cd0d268d8398600d336e1e24 /dist/changes-3.3.8 | |
parent | 7be6438badf00f24b414c2d27d564e636e2b5eb5 (diff) |
QBasicAtomicInt: fix wrong comment about non-atomic API
The public documentation for load() and store() says it's atomic,
and it is:
* using _q_value.store(newValue, std::memory_order_relaxed) in the C++11
implementation
* using a simple assignment otherwise, which is atomic (and relaxed, no
memory barriers) on all the existing C++ ABIs.
Change-Id: I40faa47120163225bd11c3a32514ac97ef8bbbd4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'dist/changes-3.3.8')
0 files changed, 0 insertions, 0 deletions