SDL/src
Cameron Gutman 014f507c40 Use specific acquire and release variants of InterlockedExchange on ARM
_InterlockedExchange_rel() is required for correctness on ARM because
the _ReadWriteBarrier() macro is only a compiler memory barrier, not a
hardware memory barrier. Due to ARM's relaxed memory model, this means
the '*lock = 0' write may be observed before the operations inside the
lock, causing possible corruption of data protected by the lock.

_InterlockedExchange_acq() is more efficient on ARM because it avoids an
expensive full memory barrier that _InterlockedExchange() does.
2021-01-03 12:13:40 -06:00
..
atomic Use specific acquire and release variants of InterlockedExchange on ARM 2021-01-03 12:13:40 -06:00
audio Updated copyright for 2021 2021-01-02 10:25:38 -08:00
core Updated copyright for 2021 2021-01-02 10:25:38 -08:00
cpuinfo Updated copyright for 2021 2021-01-02 10:25:38 -08:00
dynapi Updated copyright for 2021 2021-01-02 10:25:38 -08:00
events Updated copyright for 2021 2021-01-02 10:25:38 -08:00
file Updated copyright for 2021 2021-01-02 10:25:38 -08:00
filesystem Updated copyright for 2021 2021-01-02 10:25:38 -08:00
haptic Updated copyright for 2021 2021-01-02 10:25:38 -08:00
hidapi Updated copyright for 2021 2021-01-02 10:25:38 -08:00
joystick Updated copyright for 2021 2021-01-02 10:25:38 -08:00
libm Updated copyright for 2021 2021-01-02 10:25:38 -08:00
loadso Updated copyright for 2021 2021-01-02 10:25:38 -08:00
locale Updated copyright for 2021 2021-01-02 10:25:38 -08:00
main Updated copyright for 2021 2021-01-02 10:25:38 -08:00
misc Updated copyright for 2021 2021-01-02 10:25:38 -08:00
power Updated copyright for 2021 2021-01-02 10:25:38 -08:00
render Fixed bug 5440 - MacCatalyst build failures 2021-01-03 10:32:55 -08:00
sensor Updated copyright for 2021 2021-01-02 10:25:38 -08:00
stdlib Updated copyright for 2021 2021-01-02 10:25:38 -08:00
test Updated copyright for 2021 2021-01-02 10:25:38 -08:00
thread Updated copyright for 2021 2021-01-02 10:25:38 -08:00
timer Updated copyright for 2021 2021-01-02 10:25:38 -08:00
video Fixed bug 5440 - MacCatalyst build failures 2021-01-03 10:32:55 -08:00
SDL.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_assert.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_assert_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_dataqueue.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_dataqueue.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_error.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_error_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_hints.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_hints_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_internal.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_log.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00