svn path=/trunk/; revision=7876
This commit is contained in:
Matthias Clasen
2009-02-17 18:36:36 +00:00
parent c8e37b63e7
commit 4611dadadd
100 changed files with 556 additions and 522 deletions

View File

@@ -71,9 +71,10 @@ Reads the value of the integer pointed to by @atomic. Also acts as
a memory barrier.
</para>
@atomic: a pointer to an integer
@Returns: the value of *@atomic
@Since: 2.4
<!-- # Unused Parameters # -->
@atomic: a pointer to an integer
<!-- ##### FUNCTION g_atomic_int_set ##### -->
@@ -82,9 +83,10 @@ Sets the value of the integer pointed to by @atomic.
Also acts as a memory barrier.
</para>
@Since: 2.10
<!-- # Unused Parameters # -->
@atomic: a pointer to an integer
@newval: the new value
@Since: 2.10
<!-- ##### FUNCTION g_atomic_int_add ##### -->
@@ -93,9 +95,10 @@ Atomically adds @val to the integer pointed to by @atomic.
Also acts as a memory barrier.
</para>
@Since: 2.4
<!-- # Unused Parameters # -->
@atomic: a pointer to an integer.
@val: the value to add to *@atomic.
@Since: 2.4
<!-- ##### FUNCTION g_atomic_int_exchange_and_add ##### -->
@@ -105,10 +108,11 @@ the value of *@atomic just before the addition took place.
Also acts as a memory barrier.
</para>
@atomic: a pointer to an integer.
@val: the value to add to *@atomic.
@Returns: the value of *@atomic before the addition.
@Since: 2.4
<!-- # Unused Parameters # -->
@atomic: a pointer to an integer.
@val: the value to add to *@atomic.
<!-- ##### FUNCTION g_atomic_int_compare_and_exchange ##### -->
@@ -118,11 +122,12 @@ if they are equal, atomically exchanges *@atomic with @newval.
Also acts as a memory barrier.
</para>
@Returns: %TRUE, if *@atomic was equal @oldval. %FALSE otherwise.
@Since: 2.4
<!-- # Unused Parameters # -->
@atomic: a pointer to an integer.
@oldval: the assumed old value of *@atomic.
@newval: the new value of *@atomic.
@Returns: %TRUE, if *@atomic was equal @oldval. %FALSE otherwise.
@Since: 2.4
<!-- ##### FUNCTION g_atomic_pointer_get ##### -->
@@ -131,9 +136,10 @@ Reads the value of the pointer pointed to by @atomic. Also acts as
a memory barrier.
</para>
@atomic: a pointer to a #gpointer.
@Returns: the value to add to *@atomic.
@Since: 2.4
<!-- # Unused Parameters # -->
@atomic: a pointer to a #gpointer.
<!-- ##### FUNCTION g_atomic_pointer_set ##### -->
@@ -142,9 +148,10 @@ Sets the value of the pointer pointed to by @atomic.
Also acts as a memory barrier.
</para>
@Since: 2.10
<!-- # Unused Parameters # -->
@atomic: a pointer to a #gpointer
@newval: the new value
@Since: 2.10
<!-- ##### FUNCTION g_atomic_pointer_compare_and_exchange ##### -->
@@ -154,11 +161,12 @@ if they are equal, atomically exchanges *@atomic with @newval.
Also acts as a memory barrier.
</para>
@Returns: %TRUE, if *@atomic was equal @oldval. %FALSE otherwise.
@Since: 2.4
<!-- # Unused Parameters # -->
@atomic: a pointer to a #gpointer.
@oldval: the assumed old value of *@atomic.
@newval: the new value of *@atomic.
@Returns: %TRUE, if *@atomic was equal @oldval. %FALSE otherwise.
@Since: 2.4
<!-- ##### FUNCTION g_atomic_int_inc ##### -->

View File

@@ -227,12 +227,6 @@ error domains.
</para>
<!-- ##### MACRO G_HAVE_GNUC_VISIBILITY ##### -->
<para>
</para>
<!-- ##### MACRO G_HOOK_DEFERRED_DESTROY ##### -->
<para>

View File

@@ -353,6 +353,13 @@ See the GNU C documentation for details.
<!-- ##### MACRO G_HAVE_GNUC_VISIBILITY ##### -->
<para>
</para>
<!-- ##### MACRO G_GNUC_INTERNAL ##### -->
<para>
This attribute can be used for marking library functions as being used