summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/graph.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-02-07 15:24:04 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-02-07 15:24:04 +0000
commit4140a67a42c6e51f016060a7a795b573b0080021 (patch)
tree55f74252fd44044dae49afb9e13cc268d3135771 /libs/ardour/ardour/graph.h
parent6edd17a471950bc0c28912da5ae28ed6cb3d15ec (diff)
allow dynamic process thread count resets
git-svn-id: svn://localhost/ardour2/branches/3.0@8738 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/graph.h')
-rw-r--r--libs/ardour/ardour/graph.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libs/ardour/ardour/graph.h b/libs/ardour/ardour/graph.h
index 812bc5b86c..7984839431 100644
--- a/libs/ardour/ardour/graph.h
+++ b/libs/ardour/ardour/graph.h
@@ -91,8 +91,13 @@ class Graph : public SessionHandleRef
private:
std::list<pthread_t> _thread_list;
- volatile bool _quit_threads;
-
+ volatile bool _quit_threads;
+ PBD::ScopedConnection processor_usage_connection;
+
+ void parameter_changed (std::string);
+ void reset_thread_list ();
+ void drop_threads ();
+
node_list_t _nodes_rt[2];
node_list_t _init_trigger_list[2];