aboutsummaryrefslogtreecommitdiff
path: root/hw/misc
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-03-02 11:22:50 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2023-03-07 12:38:40 +0100
commit6c5df4b48f0c52a61342ecb307a43f4c2a3565c4 (patch)
tree6dfae8f603c1bc92750018169117180a4488bf61 /hw/misc
parent9586a1329f5dce6c1d7f4de53cf0536644d7e593 (diff)
downloadqemu-6c5df4b48f0c52a61342ecb307a43f4c2a3565c4.zip
qemu-6c5df4b48f0c52a61342ecb307a43f4c2a3565c4.tar.gz
qemu-6c5df4b48f0c52a61342ecb307a43f4c2a3565c4.tar.bz2
qemu-thread-win32: cleanup, fix, document QemuEvent
QemuEvent is currently broken on ARM due to missing memory barriers after qatomic_*(). Apart from adding the memory barrier, a closer look reveals some unpaired memory barriers that are not really needed and complicated the functions unnecessarily. Also, it is relying on a memory barrier in ResetEvent(); the barrier _ought_ to be there but there is really no documentation about it, so make it explicit. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/misc')
0 files changed, 0 insertions, 0 deletions