From a4f00f39daad6892d3d3368b8d05101c7af8d65d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 28 May 2011 22:02:13 -0400 Subject: [PATCH] GAsyncQueue: Make ref_count a volatile gint --- glib/gasyncqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.7.4