[glib] GAsyncQueue: Make ref_count a volatile gint



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]