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:
Matthias Clasen 2005-08-03 20:20:47 +00:00 committed by Matthias Clasen
parent 4f016b4824
commit f881779a8c
2 changed files with 5 additions and 1 deletions

View File

@ -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>

View File

@ -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) \