[gegl/soc-2012-editor] Fixed lockup issue with mutexes



commit ff10eb9c10a0d595c27357790969db1ae1b328d4
Author: Isaac Wagner <isaacbw src gnome org>
Date:   Thu Jun 28 13:43:19 2012 -0400

    Fixed lockup issue with mutexes

 gegl/graph/gegl-node.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/graph/gegl-node.c b/gegl/graph/gegl-node.c
index 731f0cf..bbe43d8 100644
--- a/gegl/graph/gegl-node.c
+++ b/gegl/graph/gegl-node.c
@@ -1829,10 +1829,10 @@ gegl_node_get_context (GeglNode *self,
                        gpointer  context_id)
 {
   GeglOperationContext *context = NULL;
-  g_mutex_lock (self->mutex);
+  //g_mutex_lock (self->mutex);
 
   context = g_hash_table_lookup (self->priv->contexts, context_id);
-  g_mutex_unlock (self->mutex);
+  //g_mutex_unlock (self->mutex);
   return context;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]