Gets the current value of atomic.
atomic
This call acts as a full compiler and hardware memory barrier (before the get).
a pointer to a gpointer-sized value
gpointer
the value of the pointer