+4
−3
include/qemu/sys_membarrier.h
0 → 100644
+17
−0
+5
−4
Loading
This new header file provides heavy-weight "global" memory barriers that
enforce memory ordering on each running thread belonging to the current
process. For now, use a dummy implementation that issues memory barriers
on both sides (matching what QEMU has been doing so far).
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>