diff options
| author | Alex Bennée | 2016-09-30 23:30:53 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2016-10-04 10:00:25 +0200 |
| commit | e653bc6b0ff645c25b8a2eb607c18a5c98b59db6 (patch) | |
| tree | 2a558ef7e18bf2a423d2a52ebc7bfb9135e95f01 /tcg | |
| parent | atomic.h: fix __SANITIZE_THREAD__ build (diff) | |
| download | qemu-e653bc6b0ff645c25b8a2eb607c18a5c98b59db6.tar.gz qemu-e653bc6b0ff645c25b8a2eb607c18a5c98b59db6.tar.xz qemu-e653bc6b0ff645c25b8a2eb607c18a5c98b59db6.zip | |
atomic.h: comment on use of atomic_read/set
Add some notes on the use of the relaxed atomic access helpers and their
importance for defined behaviour in C11's multi-threaded memory model.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20160930213106.20186-3-alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions
