Volatile not necessary after all

I was temporarily confused.
This commit is contained in:
Matthias Clasen 2011-05-28 22:33:37 -04:00
parent 53f93aacf3
commit 666adc2dc0
4 changed files with 5 additions and 5 deletions

View File

@ -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;
};

View File

@ -95,7 +95,7 @@ struct _GAsyncQueue
GQueue queue;
GDestroyNotify item_free_func;
guint waiting_threads;
volatile gint ref_count;
gint ref_count;
};
typedef struct {

View File

@ -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

View File

@ -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