Fix typo causing CPU burn.
authorCarl Hetherington <carl@carlh.net>
Fri, 19 Nov 2010 14:12:41 +0000 (14:12 +0000)
committerCarl Hetherington <carl@carlh.net>
Fri, 19 Nov 2010 14:12:41 +0000 (14:12 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8057 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/graph.cc

index d98c3619dcc753eb41866d85ef1a76d2ccf6c54f..a24fcad8ce791e88aa2c989f7e4cea9ea0984969 100644 (file)
@@ -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()));