mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-21 20:07:32 +00:00
The __atomic primitives have been available since GCC 4.7 and provide a richer interface for describing memory ordering requirements. As a bonus by using the primitives instead of hand-rolled functions we can use tools such as the ThreadSanitizer which need the use of well defined APIs for its analysis. If we have __ATOMIC defines we exclusively use the __atomic primitives for all our atomic access. Otherwise we fall back to the mixture of __sync and hand-rolled barrier cases. Backports commit a0aa44b488b3601415d55041e4619aef5f3a4ba8 from qemu |
||
---|---|---|
.. | ||
atomic.h | ||
bitmap.h | ||
bitops.h | ||
bswap.h | ||
compiler.h | ||
crc32c.h | ||
cutils.h | ||
fprintf-fn.h | ||
host-utils.h | ||
int128.h | ||
log.h | ||
mmap-alloc.h | ||
module.h | ||
osdep.h | ||
queue.h | ||
range.h | ||
thread-posix.h | ||
thread-win32.h | ||
thread.h | ||
timer.h | ||
typedefs.h |