aboutsummaryrefslogtreecommitdiffstats
path: root/common/atomic.c
Commit message (Collapse)AuthorAgeFilesLines
* Always use C++11 atomicsChris Robinson2018-11-171-10/+0
|
* Remove a couple unneeded functionsChris Robinson2016-05-251-3/+0
|
* Use atomics for the device and context list headsChris Robinson2014-08-011-1/+0
|
* Remove an unused functionChris Robinson2014-07-311-1/+0
|
* Rename ATOMIC_COMPARE_EXCHANGE to ATOMIC_COMPARE_EXCHANGE_STRONGChris Robinson2014-07-311-2/+0
|
* Implement RefCount as a generic atomic typeChris Robinson2014-07-221-6/+7
|
* Add methods to exchange and compare-exchange RefCount valuesChris Robinson2014-05-271-0/+2
|
* Make RefCount a non-integer typeChris Robinson2014-05-141-2/+4
| | | | | It should only be accessed through the appropriate functions to ensure proper atomicity.
* Move atomic method definitions to a separate common sourceChris Robinson2014-05-061-0/+12