From 3ceee5b20ebf825f8b9da0208270e28c9dbf28f9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 19 Jan 2011 21:37:32 +0000 Subject: [PATCH] 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 --- libs/ardour/graph.cc | 4 ++++ 1 file changed, 4 insertions(+) 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();