Atomically adds val to the value of atomic.
Performs an atomic bitwise 'and' of the value of atomic and val, storing the result back in atomic.
Compares atomic to oldval and, if equal, sets it to newval. If atomic was not equal to oldval then no change occurs.
Decrements the value of atomic by 1.
This function existed before g_atomic_int_add() returned the prior value of the integer (which it now does). It is retained only for compatibility reasons. Don't use this function in new code.
Gets the current value of atomic.
Increments the value of atomic by 1.
Performs an atomic bitwise 'or' of the value of atomic and val, storing the result back in atomic.
Sets the value of atomic to newval.
Performs an atomic bitwise 'xor' of the value of atomic and val, storing the result back in atomic.
Atomically adds val to the value of atomic.
Performs an atomic bitwise 'and' of the value of atomic and val, storing the result back in atomic.
Compares atomic to oldval and, if equal, sets it to newval. If atomic was not equal to oldval then no change occurs.
Gets the current value of atomic.
Performs an atomic bitwise 'or' of the value of atomic and val, storing the result back in atomic.
Sets the value of atomic to newval.
Performs an atomic bitwise 'xor' of the value of atomic and val, storing the result back in atomic.