[gegl] buffer: complete migration of tile_storage_mutex to be recursive
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] buffer: complete migration of tile_storage_mutex to be recursive
- Date: Tue, 1 Jul 2014 06:06:13 +0000 (UTC)
commit cfa18f06b4b4c5680cf446f014c9ff2ecb1d1805
Author: Øyvind Kolås <pippin gimp org>
Date: Tue Jul 1 08:05:38 2014 +0200
buffer: complete migration of tile_storage_mutex to be recursive
gegl/buffer/gegl-tile-storage.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/buffer/gegl-tile-storage.c b/gegl/buffer/gegl-tile-storage.c
index 0bbede5..140a4ba 100644
--- a/gegl/buffer/gegl-tile-storage.c
+++ b/gegl/buffer/gegl-tile-storage.c
@@ -131,7 +131,7 @@ gegl_tile_storage_finalize (GObject *object)
{
GeglTileStorage *self = GEGL_TILE_STORAGE (object);
- g_mutex_clear (&self->mutex);
+ g_rec_mutex_clear (&self->mutex);
(*G_OBJECT_CLASS (parent_class)->finalize)(object);
}
@@ -159,5 +159,5 @@ static void
gegl_tile_storage_init (GeglTileStorage *tile_storage)
{
tile_storage->seen_zoom = 0;
- g_mutex_init (&tile_storage->mutex);
+ g_rec_mutex_init (&tile_storage->mutex);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]