projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a33abe9
)
GAsyncQueue: Make ref_count a volatile gint
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 29 May 2011 02:02:13 +0000
(22:02 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 29 May 2011 02:02:13 +0000
(22:02 -0400)
glib/gasyncqueue.c
patch
|
blob
|
history
diff --git
a/glib/gasyncqueue.c
b/glib/gasyncqueue.c
index
faca3c5
..
d7f14ec
100644
(file)
--- a/
glib/gasyncqueue.c
+++ b/
glib/gasyncqueue.c
@@
-95,7
+95,7
@@
struct _GAsyncQueue
GQueue queue;
GDestroyNotify item_free_func;
guint waiting_threads;
-
gint32
ref_count;
+
volatile gint
ref_count;
};
typedef struct {