From: Matthias Clasen Date: Sun, 29 May 2011 02:02:13 +0000 (-0400) Subject: GAsyncQueue: Make ref_count a volatile gint X-Git-Tag: 2.29.6~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4f00f39daad6892d3d3368b8d05101c7af8d65d;p=platform%2Fupstream%2Fglib.git GAsyncQueue: Make ref_count a volatile gint --- 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 {