mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 10:42:11 +01:00
remove g_dataset_global_lock around destroy() notification here as well.
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org> * gdataset.c (g_data_set_internal): remove g_dataset_global_lock around destroy() notification here as well.
This commit is contained in:
parent
7695497f00
commit
531f83a566
@ -1,3 +1,8 @@
|
||||
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
|
||||
destroy() notification here as well.
|
||||
|
||||
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
|
||||
destroy() notification here as well.
|
||||
|
||||
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
|
||||
destroy() notification here as well.
|
||||
|
||||
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
|
||||
destroy() notification here as well.
|
||||
|
||||
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
|
||||
destroy() notification here as well.
|
||||
|
||||
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
|
||||
destroy() notification here as well.
|
||||
|
||||
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
|
||||
destroy() notification here as well.
|
||||
|
||||
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sun Oct 17 18:11:40 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gdataset.c (g_data_set_internal): remove g_dataset_global_lock around
|
||||
destroy() notification here as well.
|
||||
|
||||
1999-10-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gdataset.c (g_datalist_clear_i): Avoid Freezing, when g_datalist
|
||||
|
@ -237,7 +237,11 @@ g_data_set_internal (GData **datalist,
|
||||
* data without destroy notification
|
||||
*/
|
||||
if (list->destroy_func && !destroy_func)
|
||||
list->destroy_func (list->data);
|
||||
{
|
||||
G_UNLOCK (g_dataset_global);
|
||||
list->destroy_func (list->data);
|
||||
G_LOCK (g_dataset_global);
|
||||
}
|
||||
|
||||
if (g_data_cache_length < G_DATA_CACHE_MAX)
|
||||
{
|
||||
@ -279,7 +283,9 @@ g_data_set_internal (GData **datalist,
|
||||
/* we need to have updated all structures prior to
|
||||
* invokation of the destroy function
|
||||
*/
|
||||
G_UNLOCK (g_dataset_global);
|
||||
dfunc (ddata);
|
||||
G_LOCK (g_dataset_global);
|
||||
}
|
||||
|
||||
return;
|
||||
|
@ -237,7 +237,11 @@ g_data_set_internal (GData **datalist,
|
||||
* data without destroy notification
|
||||
*/
|
||||
if (list->destroy_func && !destroy_func)
|
||||
list->destroy_func (list->data);
|
||||
{
|
||||
G_UNLOCK (g_dataset_global);
|
||||
list->destroy_func (list->data);
|
||||
G_LOCK (g_dataset_global);
|
||||
}
|
||||
|
||||
if (g_data_cache_length < G_DATA_CACHE_MAX)
|
||||
{
|
||||
@ -279,7 +283,9 @@ g_data_set_internal (GData **datalist,
|
||||
/* we need to have updated all structures prior to
|
||||
* invokation of the destroy function
|
||||
*/
|
||||
G_UNLOCK (g_dataset_global);
|
||||
dfunc (ddata);
|
||||
G_LOCK (g_dataset_global);
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user