mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01: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:
parent
4f016b4824
commit
f881779a8c
@ -1,5 +1,9 @@
|
||||
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 ===
|
||||
|
||||
Mon Aug 1 23:00:42 2005 Tim Janik <timj@imendio.com>
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
typedef union {
|
||||
GClosure closure;
|
||||
gint vint;
|
||||
volatile gint vint;
|
||||
} ClosureInt;
|
||||
|
||||
#define CHANGE_FIELD(_closure, _field, _OP, _value, _must_set, _SET_OLD, _SET_NEW) \
|
||||
|
Loading…
Reference in New Issue
Block a user