mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 15:48:54 +02:00
Mark the vint member as volatile, which seems to be necessary to make
2005-08-02 Matthias Clasen <mclasen@redhat.com> * gclosure.c (union ClosureInt): Mark the vint member as volatile, which seems to be necessary to make atomic operations work on s390.
This commit is contained in:
committed by
Matthias Clasen
parent
4f016b4824
commit
f881779a8c
@@ -1,5 +1,9 @@
|
|||||||
2005-08-02 Matthias Clasen <mclasen@redhat.com>
|
2005-08-02 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gclosure.c (union ClosureInt): Mark the vint member as
|
||||||
|
volatile, which seems to be necessary to make atomic operations
|
||||||
|
work on s390.
|
||||||
|
|
||||||
* === Released 2.7.5 ===
|
* === Released 2.7.5 ===
|
||||||
|
|
||||||
Mon Aug 1 23:00:42 2005 Tim Janik <timj@imendio.com>
|
Mon Aug 1 23:00:42 2005 Tim Janik <timj@imendio.com>
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
typedef union {
|
typedef union {
|
||||||
GClosure closure;
|
GClosure closure;
|
||||||
gint vint;
|
volatile gint vint;
|
||||||
} ClosureInt;
|
} ClosureInt;
|
||||||
|
|
||||||
#define CHANGE_FIELD(_closure, _field, _OP, _value, _must_set, _SET_OLD, _SET_NEW) \
|
#define CHANGE_FIELD(_closure, _field, _OP, _value, _must_set, _SET_OLD, _SET_NEW) \
|
||||||
|
Reference in New Issue
Block a user