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:
parent
dd7caa0165
commit
65c97361a9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user