Sets the value of atomic to newval.
atomic
newval
This call acts as a full compiler and hardware memory barrier (after the set).
a pointer to a gpointer-sized value
gpointer
a new value to store