13
0

Somewhat hacky fix to stop the graph code allocating in the RT thread.

git-svn-id: svn://localhost/ardour2/branches/3.0@8491 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-01-10 17:31:34 +00:00
parent dd7caa0165
commit 65c97361a9

View File

@ -49,6 +49,11 @@ Graph::Graph (Session & session)
{
pthread_mutex_init( &_trigger_mutex, NULL);
/* XXX: rather hacky `fix' to stop _trigger_queue.push_back() allocating
memory in the RT thread.
*/
_trigger_queue.reserve (8192);
_execution_tokens = 0;
_current_chain = 0;