diff options
author | Robin Gareus <robin@gareus.org> | 2019-07-10 20:19:53 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-07-10 20:20:44 +0200 |
commit | 57c3eaacf6a9b3db4c15961f51b94bba2db35771 (patch) | |
tree | f732cf45de3dfbe9a8ff426c6ccf7a905ceaeb19 /libs/ardour/luaproc.cc | |
parent | e8c2e43dc411b656bdb8e65aec54ed543db071f7 (diff) |
Fix process-thread naming
Diffstat (limited to 'libs/ardour/luaproc.cc')
-rw-r--r-- | libs/ardour/luaproc.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libs/ardour/luaproc.cc b/libs/ardour/luaproc.cc index 8cb5f66c1c..04d83862ce 100644 --- a/libs/ardour/luaproc.cc +++ b/libs/ardour/luaproc.cc @@ -624,13 +624,7 @@ LuaProc::connect_and_run (BufferSet& bufs, Plugin::connect_and_run (bufs, start, end, speed, in, out, nframes, offset); // This is needed for ARDOUR::Session requests :( - if (! SessionEvent::has_per_thread_pool ()) { - char name[64]; - snprintf (name, 64, "Proc-%p", this); - pthread_set_name (name); - SessionEvent::create_per_thread_pool (name, 64); - PBD::notify_event_loops_about_thread_creation (pthread_self(), name, 64); - } + assert (SessionEvent::has_per_thread_pool ()); uint32_t const n = parameter_count (); for (uint32_t i = 0; i < n; ++i) { |