glib/docs/reference/glib
Marco Trevisan (Treviño) fa4e34667c gatomic: Add APIs to perform atomic int / pointer exchanges
Atomic APIs provide a way to exchange values only if we compare a value
that is equal to the old value, but not to just exchange the value
returning the old one.

However, compilers provide such built-in functions, so we can use them
to expose such functionality to GLib.

The only drawback is that when using an old version of gcc not providing
atomic APIs to swap values, we need to re-implement it with an
implementation that may not be fully atomic, but that is safe enough.

However this codepath should really not be used currently as gcc
introduced __atomic_exchange_n() at version 4.7.4, so 8 years ago.
2022-06-07 17:10:57 +02:00
..
xml docs: Change Bugzilla references to GitLab 2018-06-15 13:04:39 +01:00
building.xml build: Drop the internal_pcre option in favour of the subproject 2021-06-16 16:45:10 +01:00
changes.xml tree: Fix various typos and outdated terminology 2020-06-12 15:01:08 +01:00
compiling.xml compiling.xml: Don't recommend backticks 2021-06-09 10:13:27 +00:00
cross.xml Make ld executable configurable 2019-11-04 15:08:33 +00:00
file-name-encodings.png Huh? This was a 6-byte file. Replaced it with the correct one. 2006-01-12 19:47:02 +00:00
file-name-encodings.sxd Replaced with the correct file. 2006-01-12 19:49:32 +00:00
glib-docs.xml gversionmacros: Add version macros for GLib 2.74 2022-03-28 12:55:20 +01:00
glib-gettextize.xml docs: Improve man page consistency 2012-08-03 23:36:45 -04:00
glib-overrides.txt docs: fix bogus override for GIConv 2017-10-27 12:06:41 +01:00
glib-sections.txt gatomic: Add APIs to perform atomic int / pointer exchanges 2022-06-07 17:10:57 +02:00
gtester-report.xml glib: Deprecate gtester and gtester-report 2019-05-14 12:14:54 +01:00
gtester.xml glib: Deprecate gtester and gtester-report 2019-05-14 12:14:54 +01:00
gvariant-text.xml tree: Fix various typos and outdated terminology 2020-06-12 15:01:08 +01:00
gvariant-varargs.xml docs: Improve GVariant docs 2021-11-29 15:24:15 +05:30
mainloop-states.eps add images 2000-12-05 20:43:58 +00:00
mainloop-states.fig add images 2000-12-05 20:43:58 +00:00
mainloop-states.gif add images 2000-12-05 20:43:58 +00:00
mainloop-states.png add images 2000-12-05 20:43:58 +00:00
meson.build pcre: Drop internal libpcre copy 2021-06-16 16:45:10 +01:00
programming.xml docs: fix grammar in Writing GLib Applications/Threads 2016-01-31 12:54:28 -05:00
regex-syntax.xml tree: Fix various typos and outdated terminology 2020-06-12 15:01:08 +01:00
resources.xml docs: Remove mentions of mailing lists 2019-07-23 11:27:30 +01:00
running.xml docs: Wrap a code example more tightly to reduce minimum page width 2021-06-03 12:52:51 +01:00
Sorted_binary_tree_breadth-first_traversal.svg More GTree and GNode formatting and documentation fixes 2014-01-19 23:49:12 -05:00
Sorted_binary_tree_inorder.svg More GTree and GNode formatting and documentation fixes 2014-01-19 23:49:12 -05:00
Sorted_binary_tree_postorder.svg More GTree and GNode formatting and documentation fixes 2014-01-19 23:49:12 -05:00
Sorted_binary_tree_preorder.svg More GTree and GNode formatting and documentation fixes 2014-01-19 23:49:12 -05:00
version.xml.in Add version info to API docs. 2002-11-23 01:37:17 +00:00