mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-08 03:45:49 +01:00
Define g_atomic_(int|pointer)_get only for
2004-03-01 Sebastian Wilhelmi <seppi@seppi.de> * glib/gatomic.c: Define g_atomic_(int|pointer)_get only for G_ATOMIC_OP_MEMORY_BARRIER_NEEDED. Spotted by Hans Breuer.
This commit is contained in:
parent
e1c15eb0d1
commit
2af063c00e
@ -1,3 +1,8 @@
|
|||||||
|
2004-03-01 Sebastian Wilhelmi <seppi@seppi.de>
|
||||||
|
|
||||||
|
* glib/gatomic.c: Define g_atomic_(int|pointer)_get only for
|
||||||
|
G_ATOMIC_OP_MEMORY_BARRIER_NEEDED. Spotted by Hans Breuer.
|
||||||
|
|
||||||
Sun Feb 29 21:42:47 2004 Owen Taylor <otaylor@redhat.com>
|
Sun Feb 29 21:42:47 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmain.c: Fix leftover references to
|
* glib/gmain.c: Fix leftover references to
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-03-01 Sebastian Wilhelmi <seppi@seppi.de>
|
||||||
|
|
||||||
|
* glib/gatomic.c: Define g_atomic_(int|pointer)_get only for
|
||||||
|
G_ATOMIC_OP_MEMORY_BARRIER_NEEDED. Spotted by Hans Breuer.
|
||||||
|
|
||||||
Sun Feb 29 21:42:47 2004 Owen Taylor <otaylor@redhat.com>
|
Sun Feb 29 21:42:47 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmain.c: Fix leftover references to
|
* glib/gmain.c: Fix leftover references to
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-03-01 Sebastian Wilhelmi <seppi@seppi.de>
|
||||||
|
|
||||||
|
* glib/gatomic.c: Define g_atomic_(int|pointer)_get only for
|
||||||
|
G_ATOMIC_OP_MEMORY_BARRIER_NEEDED. Spotted by Hans Breuer.
|
||||||
|
|
||||||
Sun Feb 29 21:42:47 2004 Owen Taylor <otaylor@redhat.com>
|
Sun Feb 29 21:42:47 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmain.c: Fix leftover references to
|
* glib/gmain.c: Fix leftover references to
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-03-01 Sebastian Wilhelmi <seppi@seppi.de>
|
||||||
|
|
||||||
|
* glib/gatomic.c: Define g_atomic_(int|pointer)_get only for
|
||||||
|
G_ATOMIC_OP_MEMORY_BARRIER_NEEDED. Spotted by Hans Breuer.
|
||||||
|
|
||||||
Sun Feb 29 21:42:47 2004 Owen Taylor <otaylor@redhat.com>
|
Sun Feb 29 21:42:47 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmain.c: Fix leftover references to
|
* glib/gmain.c: Fix leftover references to
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-03-01 Sebastian Wilhelmi <seppi@seppi.de>
|
||||||
|
|
||||||
|
* glib/gatomic.c: Define g_atomic_(int|pointer)_get only for
|
||||||
|
G_ATOMIC_OP_MEMORY_BARRIER_NEEDED. Spotted by Hans Breuer.
|
||||||
|
|
||||||
Sun Feb 29 21:42:47 2004 Owen Taylor <otaylor@redhat.com>
|
Sun Feb 29 21:42:47 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmain.c: Fix leftover references to
|
* glib/gmain.c: Fix leftover references to
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-03-01 Sebastian Wilhelmi <seppi@seppi.de>
|
||||||
|
|
||||||
|
* glib/gatomic.c: Define g_atomic_(int|pointer)_get only for
|
||||||
|
G_ATOMIC_OP_MEMORY_BARRIER_NEEDED. Spotted by Hans Breuer.
|
||||||
|
|
||||||
Sun Feb 29 21:42:47 2004 Owen Taylor <otaylor@redhat.com>
|
Sun Feb 29 21:42:47 2004 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gmain.c: Fix leftover references to
|
* glib/gmain.c: Fix leftover references to
|
||||||
|
@ -530,6 +530,7 @@ g_atomic_pointer_compare_and_exchange (gpointer *atomic,
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef G_ATOMIC_OP_MEMORY_BARRIER_NEEDED
|
||||||
gint
|
gint
|
||||||
g_atomic_int_get (gint *atomic)
|
g_atomic_int_get (gint *atomic)
|
||||||
{
|
{
|
||||||
@ -553,6 +554,7 @@ g_atomic_pointer_get (gpointer *atomic)
|
|||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
#endif /* G_ATOMIC_OP_MEMORY_BARRIER_NEEDED */
|
||||||
#elif defined (G_ATOMIC_OP_MEMORY_BARRIER_NEEDED)
|
#elif defined (G_ATOMIC_OP_MEMORY_BARRIER_NEEDED)
|
||||||
gint
|
gint
|
||||||
g_atomic_int_get (gint *atomic)
|
g_atomic_int_get (gint *atomic)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user