API Version: 2.0
Library Version: 2.76
Generated by gi-docgen 2023.2
since: 2.4
void g_atomic_int_set ( volatile gint* atomic, gint newval )
Sets the value of atomic to newval.
atomic
newval
This call acts as a full compiler and hardware memory barrier (after the set).
While atomic has a volatile qualifier, this is a historical artifact and the pointer passed to it should not be volatile.
volatile
Available since: 2.4
Type: volatile gint*
volatile gint*
A pointer to a #gint or #guint.
Type: gint
gint
A new value to store.