summaryrefslogtreecommitdiff
path: root/src/atomic
AgeCommit message (Expand)AuthorFilesLines
2019-01-04Updated copyright for 2019Sam Lantinga2-2/+2
2018-09-27SDL_atomic.c, SDL_spinlock.c: use lock prefix with xchg in Watcom asm.Ozkan Sezer2-2/+3
2018-06-30correct the comment correction..Ozkan Sezer1-1/+1
2018-06-30comment correctionOzkan Sezer1-1/+1
2018-06-29Corrected a comment.Ryan C. Gordon1-1/+1
2018-06-25Patched to compile on Visual Studio (typo).Ryan C. Gordon1-1/+1
2018-06-25atomic: Fight with all the assemblers that don't like REP NOP. :/Ryan C. Gordon1-3/+4
2018-06-25atomic: Spin locks now try to use the x86 PAUSE instruction for short waits.Ryan C. Gordon1-1/+24
2018-01-03Updated copyright for 2018Sam Lantinga2-2/+2
2017-08-18Add atomics for Watcom/x86 as inline asmOzkan Sezer2-1/+53
2017-04-13atomic: Patched to compile on Android.Ryan C. Gordon1-1/+5
2017-04-13atomic: favor compiler intrinsics for compare-and-swap over macOS APIs.Ryan C. Gordon1-6/+6
2017-04-13atomic: let Clang always use atomic_load_n if available.Ryan C. Gordon1-2/+15
2017-03-30__atomic_load_n() appears to be available in GCC 5 but not GCC 4Sam Lantinga1-4/+2
2017-03-29Patched to compile on some platforms.Ryan C. Gordon1-2/+4
2017-03-29Use GCC's atomic loads in SDL_AtomicGet and SDL_AtomicGetPtrJames Legg1-0/+8
2017-02-10Make sure the memory barrier functions are always available, and now they are...Sam Lantinga1-14/+11
2017-01-01Updated copyright for 2017Sam Lantinga2-2/+2
2016-01-02Updated copyright to 2016Sam Lantinga2-2/+2
2015-05-26Updated the copyright year to 2015Sam Lantinga2-2/+2
2014-07-07Fixed bug 2618 - incomplete pthread-based lock support should be removedSam Lantinga1-7/+0
2014-07-052620 solaris port missing atomics if not using gccShawn Walker2-1/+42
2014-03-09Integrated David Ludwig's support for Windows RTSam Lantinga1-1/+1
2014-03-09Fixed line endings on WinRT source codeSam Lantinga1-126/+126
2014-02-02Fixed bug 2374 - Update copyright for 2014...Sam Lantinga2-2/+2
2014-01-08Patched to compile on Android (I think).Ryan C. Gordon1-0/+2
2013-11-24Make internal SDL sources include SDL_internal.h instead of SDL_config.hRyan C. Gordon2-2/+2
2013-12-09Patched stdlib changes to compile on Windows.Ryan C. Gordon1-1/+3
2013-11-24Moved atomic API implementation out of headers.Ryan C. Gordon1-12/+111
2013-10-27WinRT: build fixes, post SDL 2.0.1 updateDavid Ludwig1-1/+1
2013-10-27WinRT: merged with SDL 2.0.1 codebaseDavid Ludwig2-128/+128
2013-10-20Fixed bug 2129 - fix for bug 2121 breaks linking for mingw and throws multipl...Sam Lantinga1-2/+2
2013-10-17Fixed building using MinGWSam Lantinga1-4/+4
2013-08-12WinRT: merged with SDL 2.0.0 codebase (aka. SDL hg rev d6a8fa507a45)David Ludwig2-8/+22
2013-07-10Added PowerPC and ARM versions of the memory barrier functions.Sam Lantinga1-0/+14
2013-05-18File style cleanup for the SDL 2.0 releaseSam Lantinga2-8/+8
2013-04-14WinRT: merged with latest, official, SDL 2.x sources (at rev. bea100d73d13)David Ludwig2-7/+9
2013-03-07Put the real SDL_AtomicCAS() and SDL_AtomicCASPtr() symbols into the library.Sam Lantinga1-4/+6
2013-03-07Changed the name of SDL_mutexP() SDL_mutexV()Sam Lantinga1-3/+3
2013-02-23WinRT: merged with latest, official, SDL 2.x codeDavid Ludwig2-2/+2
2013-02-15Happy New Year!Sam Lantinga2-2/+2
2012-10-17Got a bare-bones version of SDL compiling for Windows RT. Dummy drivers are ...David Ludwig1-1/+1
2012-09-27Removed executable bit from source filesSam Lantinga2-0/+0
2012-01-14Make sure that we use consistent configuration options on platforms like Wind...Sam Lantinga2-2/+2
2011-12-31Happy New Year!Sam Lantinga2-2/+2
2011-10-16Check for __ARM_ARCH_5TEJ__ in spinlock atomics.Ryan C. Gordon1-1/+2
2011-10-16Let iOS use OSAtomicCompareAndSwap32Barrier() if nothing else is available.Ryan C. Gordon1-1/+1
2011-09-18Implemented x86 and x86-64 spinlock inline asm.Ryan C. Gordon1-4/+13
2011-09-18Use an actual #error instead of a bogus symbol if there's no spinlock support.Ryan C. Gordon1-3/+2
2011-06-22Implemented pthread spinlocks.Nathan Heisey1-2/+9