diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-19 11:36:44 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-24 15:27:15 +0200 |
| commit | 803cf26a9e019b5d2256a8edeb22e3538c4f3261 (patch) | |
| tree | aa9484da547aa37b2e345bd6b6a2d01621376d2a /include/qapi/string-input-visitor.h | |
| parent | e11131b02584ddea93deef1caad8e4f945dd7340 (diff) | |
| download | qemu-803cf26a9e019b5d2256a8edeb22e3538c4f3261.zip qemu-803cf26a9e019b5d2256a8edeb22e3538c4f3261.tar.gz qemu-803cf26a9e019b5d2256a8edeb22e3538c4f3261.tar.bz2 | |
atomic: base mb_read/mb_set on load-acquire and store-release
This introduces load-acquire and store-release operations in QEMU.
For now, just use them as an implementation detail of atomic_mb_read
and atomic_mb_set.
Since docs/atomics.txt documents that atomic_mb_read only synchronizes
with an atomic_mb_set of the same variable, we can use the new implementation
everywhere instead of seq-cst loads and stores.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qapi/string-input-visitor.h')
0 files changed, 0 insertions, 0 deletions
