core: Use gcc atomics instead glib's ones
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Mon, 31 Oct 2011 12:19:09 +0000 (13:19 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 10 Nov 2011 12:09:50 +0000 (13:09 +0100)
commit9232d39e6a0738b750e97efd04124c81b7b2e583
tree23b4bc3d39f0c6b16a55e8bc9df760e220f2c749
parent6bd851d905799dfb02e66eadc37c2e85b4b8f402
core: Use gcc atomics instead glib's ones

g_atomic_int_exchange_and_add() has been removed from glib 2.30
and g_atomic_int_add() should be used. Though there are still
quite a few distros out which do not ship a glib version with
g_atomic_int_add().

Instead of maintaing a compatiblilty glib layer we just use
the built-in functions for atomic memory access.
src/device.c
src/ipconfig.c
src/network.c
src/notifier.c
src/provider.c
src/service.c
src/task.c
src/technology.c
src/tethering.c