src/atomic


Log

Author Commit Date CI Message
Ryan C. Gordon 1d1a0d7f 2017-04-13T15:28:56 atomic: Patched to compile on Android.
Ryan C. Gordon 1c9c7633 2017-04-13T13:28:52 atomic: favor compiler intrinsics for compare-and-swap over macOS APIs. The OSAtomicCompareAndSwap* APIs are deprecated as of macOS 10.12.
Ryan C. Gordon 8c00de57 2017-04-13T13:22:23 atomic: let Clang always use atomic_load_n if available. (Apple's Clang reports itself as GCC 4.2.1 in preprocessor macros--the final GNU C compiler Apple shipped--as of the macOS 10.12 SDK.)
Sam Lantinga 7891e72d 2017-03-30T06:52:34 __atomic_load_n() appears to be available in GCC 5 but not GCC 4
Ryan C. Gordon f2179944 2017-03-29T12:04:17 Patched to compile on some platforms.
James Legg 1dc9ae5c 2017-03-29T15:48:22 Use GCC's atomic loads in SDL_AtomicGet and SDL_AtomicGetPtr This fixes errors reported by address sanitizer, and generates simpler code on x86 architectures.
Sam Lantinga 06ccb71b 2017-02-10T11:21:15 Make sure the memory barrier functions are always available, and now they are implemented on Android __ARM_ARCH_5TE__
Sam Lantinga 45b774e3 2017-01-01T18:33:28 Updated copyright for 2017
Sam Lantinga 42065e78 2016-01-02T10:10:34 Updated copyright to 2016
Philipp Wiesemann 0e45984f 2015-06-21T17:33:46 Fixed crash if initialization of EGL failed but was tried again later. The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly uninitialized data structure if loading the library first failed. A later try to use EGL then skipped initialization and assumed it was previously successful because the data structure now already existed. This led to at least one crash in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was dereferenced to make a call to eglBindAPI().