[gegl] Removed mutex lock/unlock pair which was causing hangs



commit df2416b549347d5b4ff7f3809286b6bbbb33c814
Author: Isaac Wagner <isaacbw src gnome org>
Date:   Sun Jul 29 16:56:52 2012 -0400

    Removed mutex lock/unlock pair which was causing hangs

 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]