summaryrefslogtreecommitdiff
path: root/libs/ardour/graph.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-01-17 16:54:09 +0000
committerCarl Hetherington <carl@carlh.net>2012-01-17 16:54:09 +0000
commit7fcfe672c4cd974641f156c8696f36094c32fa48 (patch)
tree5bee8206a75910ff1c10662d434302509873f8dd /libs/ardour/graph.cc
parent09f5369feadbb09dee7f14373e571e01f10d21fa (diff)
Fix unutterably terrible thinko in previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@11254 d708f5d6-7413-0410-9779-e7cbd77b26cf
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)