summaryrefslogtreecommitdiff
path: root/libs/ardour/graph.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-01-19 21:37:32 +0000
committerCarl Hetherington <carl@carlh.net>2011-01-19 21:37:32 +0000
commit3ceee5b20ebf825f8b9da0208270e28c9dbf28f9 (patch)
tree6420dd2fcf2790b752477e15b039571a3c866615 /libs/ardour/graph.cc
parent6636a65c100869e1d479cac97769fbaede7746c7 (diff)
Stop thought-to-be-safe alloc in RT thread from triggering the checker.
git-svn-id: svn://localhost/ardour2/branches/3.0@8549 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/graph.cc')
-rw-r--r--libs/ardour/graph.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc
index 7cddd522e1..cc82890af7 100644
--- a/libs/ardour/graph.cc
+++ b/libs/ardour/graph.cc
@@ -397,7 +397,9 @@ static void get_rt()
void
Graph::helper_thread()
{
+ suspend_rt_malloc_checks ();
ProcessThread* pt = new ProcessThread ();
+ resume_rt_malloc_checks ();
pt->get_buffers();
get_rt();
@@ -414,7 +416,9 @@ Graph::helper_thread()
void
Graph::main_thread()
{
+ suspend_rt_malloc_checks ();
ProcessThread* pt = new ProcessThread ();
+ resume_rt_malloc_checks ();
pt->get_buffers();
get_rt();