summaryrefslogtreecommitdiff
path: root/glib/gatomic.h
Commit message (Expand)AuthorAgeFilesLines
* glib: Use G_CXX_STD_VERSION to check how to behave with C++ compilersMarco Trevisan (Treviño)2022-11-221-4/+4
* gatomic: Cast the oldval pointer type to the atomic value typeMarco Trevisan (Treviño)2022-10-311-1/+2
* gatomic: Support atomic compare_and_exchange macros on older C++ standard ver...Damjan Jovanovic2022-09-151-4/+4
* build: Use _GLIB prefix for GCC features we detected at build timeMarco Trevisan (Treviño)2022-06-221-5/+5
* gatomic: Add Compare and Exchange functions that returns the previous valueMarco Trevisan (Treviño)2022-06-221-0/+52
* gatomic: Add APIs to perform atomic int / pointer exchangesMarco Trevisan (Treviño)2022-06-071-0/+62
* glib: Add SPDX license headers automaticallyPhilip Withnall2022-05-181-0/+2
* gatomic: Add a C++ variant of g_atomic_int_compare_and_exchange()Philip Withnall2022-04-011-0/+12
* Coerce type cast to void* because it causes compiler warningsEmmanuel Fleury2021-09-231-2/+2
* glib_typeof: Move definition to its own headerXavier Claessens2021-05-171-13/+9
* gatomic.h: Make `glib_typeof` API break opt in.Iain Lane2021-03-011-8/+8
* glib/gmacros.h: Move `<type_traits>` include to consumersIain Lane2021-02-251-0/+5
* gatomic: Make fallback g_atomic_pointer_get type-safewip/smcv/armel-atomic-pointer-getSimon McVittie2021-02-141-0/+14
* atomic: Fix type check of g_atomic_pointer_compare_and_exchange()Xavier Claessens2021-02-031-3/+11
* Revert "atomic: Fix type error with clang++"Xavier Claessens2021-02-031-0/+12
* atomic: Fix type error with clang++Xavier Claessens2021-01-271-12/+0
* gatomic: Drop unnecessary volatile qualifiers from macro variablesPhilip Withnall2020-11-201-3/+3
* gatomic: Check if glib_typeof() is defined before using itXavier Claessens2020-10-141-1/+23
* Replace __typeof__ with glib_typeof macroXavier Claessens2020-10-141-21/+21
* Revert "gatomic: Temporarily disable C11-style atomics on FreeBSD"wip/pwithnall/1940-atomic-typesPhilip Withnall2019-11-201-3/+1
* gatomic: Check argument width in g_atomic_pointer_compare_and_exchange()Philip Withnall2019-11-201-0/+1
* gatomic: Temporarily disable C11-style atomics on FreeBSDPhilip Withnall2019-11-151-1/+3
* Merge branch '1750-more-atomic-intrinsics' into 'master'Sebastian Dröge2019-11-141-2/+88
|\
| * gatomic: Use new __atomic_*() intrinsics for all atomic operationsPhilip Withnall2019-09-251-2/+88
* | gatomic: Fix strict aliasing problems with g_atomic_pointer_{get,set}()Philip Withnall2019-10-071-5/+26
|/
* gatomic: Reorder memory barriers in fallback atomic operationsPhilip Withnall2019-09-211-4/+40
* gatomic: Fix false positive with Clang+TSANPeter Wu2019-07-261-33/+11
* gatomic: Tweak __atomic_load*() calls to work with -Wbad-function-castPhilip Withnall2018-07-101-4/+6
* gatomic: fix -Wduplicated-branchesErnestas Kulik2018-02-161-23/+23
* glib/: LGPLv2+ -> LGPLv2.1+Sébastien Wilmet2017-05-241-4/+4
* gatomic: statically assert that our assumptions holdSimon McVittie2016-11-221-0/+8
* Revert "gatomic: statically assert that our assumptions hold"Owen W. Taylor2014-07-231-6/+0
* gatomic: statically assert that our assumptions holdSimon McVittie2014-07-231-0/+6
* gatomic: disable GCC extension atomics for clangRyan Lortie2014-06-201-1/+1
* gatomic: use GCC C11-style atomics, if availableRyan Lortie2014-06-061-13/+64
* gatomic: whitespace fixesRyan Lortie2014-06-061-16/+16
* gatomic: fix typo in deprecation attributeRyan Lortie2014-06-061-1/+1
* Updated FSF's addressDaniel Mustieles2014-01-311-3/+1
* g_atomic_int_get, g_atomic_pointer_get: accept const argumentsSimon McVittie2013-01-281-2/+2
* various: add GLIB_AVAILABLE_IN_ALL everywhere elseRyan Lortie2013-01-131-0/+12
* Move single-include guards inside include guardsMatthias Clasen2012-12-271-3/+3
* Annotate API introduced for 2.30 with GLIB_AVAILABLE_IN_2_30Colin Walters2012-05-261-0/+4
* Add versioned deprecation annotationEmmanuele Bassi2012-02-271-1/+1
* Don't use G_DISABLE_DEPRECATED guards around deprecated functionsMatthias Clasen2011-11-031-2/+0
* gatomic: introduce G_ATOMIC_LOCK_FREERyan Lortie2011-10-181-2/+2
* gatomic: cast to the correct pointer signRyan Lortie2011-10-181-3/+3
* Make single includes mandatoryMatthias Clasen2011-10-121-1/+1
* Use GLIB_DEPRECATED instead of G_GNUC_DEPRECATED in our headersChun-wei Fan2011-10-111-1/+2
* Add G_GNUC_DEPRECATED to deprecated APIs in glibMatthias Clasen2011-10-081-1/+1
* Consistently use G_GNUC_EXTENSION instead of __extension__Colin Walters2011-05-311-16/+16