moved G_DATALIST_*_POINTER() macros here, because proper use requires the
authorTim Janik <timj@gtk.org>
Sun, 31 Jul 2005 00:05:39 +0000 (00:05 +0000)
committerTim Janik <timj@src.gnome.org>
Sun, 31 Jul 2005 00:05:39 +0000 (00:05 +0000)
commit2d1cf6c139f06d964f5fcddaac126370fdf59215
tree0962038188e583a3b973005c1012b278f3eca6d5
parent4746cf2ce03caf665f357d5741c6b4b9c3c6cd1b
moved G_DATALIST_*_POINTER() macros here, because proper use requires the

Sun Jul 31 01:50:20 2005  Tim Janik  <timj@gtk.org>

        * glib/gdataset.c:
        moved G_DATALIST_*_POINTER() macros here, because proper use requires
        the global g_dataset_global mutex to be acquired.
        g_datalist_id_get_data():
        g_datalist_unset_flags():
        g_datalist_set_flags(): properly acquire and release dataset mutex.

        * glib/gdatasetprivate.h: implement G_DATALIST_GET_FLAGS() via atomic
        pointer access to account for memory barriers. moved all other macros.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-8
glib/gdataset.c
glib/gdatasetprivate.h