summaryrefslogtreecommitdiff
path: root/libs/ardour/graph.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/graph.cc')
-rw-r--r--libs/ardour/graph.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc
index 99fc524534..03ba4d969a 100644
--- a/libs/ardour/graph.cc
+++ b/libs/ardour/graph.cc
@@ -233,7 +233,9 @@ Graph::prep()
void
Graph::trigger (GraphNode* n)
{
+ pthread_mutex_lock (&_trigger_mutex);
_trigger_queue.push_back (n);
+ pthread_mutex_unlock (&_trigger_mutex);
}
/** Called when a node at the `output' end of the chain (ie one that has no-one to feed)