[glib] GAsyncQueue: Make ref_count a volatile gint
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GAsyncQueue: Make ref_count a volatile gint
- Date: Sun, 29 May 2011 02:34:03 +0000 (UTC)
commit a4f00f39daad6892d3d3368b8d05101c7af8d65d
Author: Matthias Clasen <mclasen redhat com>
Date: Sat May 28 22:02:13 2011 -0400
GAsyncQueue: Make ref_count a volatile gint
glib/gasyncqueue.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gasyncqueue.c b/glib/gasyncqueue.c
index faca3c5..d7f14ec 100644
--- 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 {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]