aboutsummaryrefslogtreecommitdiffstats
path: root/include/atomic.h
Commit message (Expand)AuthorAgeFilesLines
* Use an ATOMIC_INIT macro instead of ATOMIC_LOAD_UNSAFEChris Robinson2014-08-031-19/+5
* Use the right type for atomic compare-exchangeChris Robinson2014-08-011-4/+4
* Add some casts for inline assembly atomicsChris Robinson2014-08-011-6/+6
* Use atomics for the device and context list headsChris Robinson2014-08-011-12/+12
* Remove an unused functionChris Robinson2014-07-311-8/+0
* Rename ATOMIC_COMPARE_EXCHANGE to ATOMIC_COMPARE_EXCHANGE_STRONGChris Robinson2014-07-311-9/+5
* Avoid a CPU memory fence, and better order memory barriers to accessesChris Robinson2014-07-311-13/+32
* Change Windows-based atomics for non-C99 compilersChris Robinson2014-07-271-17/+43
* Use a full memory barrier for WindowsChris Robinson2014-07-271-2/+2
* Explicitly pass the address of atomics and parameters that can be modifiedChris Robinson2014-07-261-54/+54
* Support C11 atomicsChris Robinson2014-07-231-55/+76
* Implement RefCount as a generic atomic typeChris Robinson2014-07-221-152/+108
* Add macros for generic atomic functionalityChris Robinson2014-07-221-36/+145
* Add extern "C" to common headers.Chris Robinson2014-05-291-0/+7
* Add methods to exchange and compare-exchange RefCount valuesChris Robinson2014-05-271-0/+38
* Make RefCount a non-integer typeChris Robinson2014-05-141-19/+35
* Always use unsigned int for RefCountChris Robinson2014-05-071-18/+22
* Move the static_assert definition to its own headerChris Robinson2014-05-071-0/+2
* Move some headers to include/Chris Robinson2014-05-061-0/+141