mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-28 02:20:04 +01:00
GAsyncQueue: Make ref_count a volatile gint
This commit is contained in:
parent
a33abe9c21
commit
a4f00f39da
@ -95,7 +95,7 @@ struct _GAsyncQueue
|
|||||||
GQueue queue;
|
GQueue queue;
|
||||||
GDestroyNotify item_free_func;
|
GDestroyNotify item_free_func;
|
||||||
guint waiting_threads;
|
guint waiting_threads;
|
||||||
gint32 ref_count;
|
volatile gint ref_count;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user