From 3aa8ff4a5e3f2c323bf35f3734a8d1e55be3c922 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 19 Nov 2010 14:12:41 +0000 Subject: [PATCH] Fix typo causing CPU burn. git-svn-id: svn://localhost/ardour2/branches/3.0@8057 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/graph.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc index d98c3619dc..a24fcad8ce 100644 --- a/libs/ardour/graph.cc +++ b/libs/ardour/graph.cc @@ -336,7 +336,7 @@ Graph::run_one() _execution_tokens += 1; pthread_mutex_unlock (&_trigger_mutex); DEBUG_TRACE (DEBUG::ProcessThreads, string_compose ("%1 goes to sleep\n", pthread_self())); - _execution_sem.signal (); + _execution_sem.wait (); if (_quit_threads) return true; DEBUG_TRACE (DEBUG::ProcessThreads, string_compose ("%1 is awake\n", pthread_self())); -- 2.30.2