mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Volatile not necessary after all
I was temporarily confused.
This commit is contained in:
parent
53f93aacf3
commit
666adc2dc0
@ -107,7 +107,7 @@ struct _GRealArray
|
||||
guint elt_size;
|
||||
guint zero_terminated : 1;
|
||||
guint clear : 1;
|
||||
volatile gint ref_count;
|
||||
gint ref_count;
|
||||
};
|
||||
|
||||
/**
|
||||
@ -759,7 +759,7 @@ struct _GRealPtrArray
|
||||
gpointer *pdata;
|
||||
guint len;
|
||||
guint alloc;
|
||||
volatile gint ref_count;
|
||||
gint ref_count;
|
||||
GDestroyNotify element_free_func;
|
||||
};
|
||||
|
||||
|
@ -95,7 +95,7 @@ struct _GAsyncQueue
|
||||
GQueue queue;
|
||||
GDestroyNotify item_free_func;
|
||||
guint waiting_threads;
|
||||
volatile gint ref_count;
|
||||
gint ref_count;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
|
@ -220,7 +220,7 @@ struct _GHashTable
|
||||
|
||||
GHashFunc hash_func;
|
||||
GEqualFunc key_equal_func;
|
||||
volatile gint ref_count;
|
||||
gint ref_count;
|
||||
#ifndef G_DISABLE_ASSERT
|
||||
/*
|
||||
* Tracks the structure of the hash table, not its contents: is only
|
||||
|
@ -85,7 +85,7 @@ struct _GTree
|
||||
GDestroyNotify value_destroy_func;
|
||||
gpointer key_compare_data;
|
||||
guint nnodes;
|
||||
volatile gint ref_count;
|
||||
gint ref_count;
|
||||
};
|
||||
|
||||
struct _GTreeNode
|
||||
|
Loading…
Reference in New Issue
Block a user