summaryrefslogtreecommitdiff
path: root/libs/ardour/automation_watch.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-03-29 14:56:22 +0200
committerRobin Gareus <robin@gareus.org>2020-03-29 14:56:22 +0200
commitc365c6cdb28a4be958cd8405039f6a588d1af21f (patch)
tree69666098246106076876a48066d78849735ec8fc /libs/ardour/automation_watch.cc
parentd6a38d545089b8e2d5be54e3f8e9ed497234c2ef (diff)
Set thread-names (libs)
Diffstat (limited to 'libs/ardour/automation_watch.cc')
-rw-r--r--libs/ardour/automation_watch.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/automation_watch.cc b/libs/ardour/automation_watch.cc
index f3e2ae5f81..b0613a4994 100644
--- a/libs/ardour/automation_watch.cc
+++ b/libs/ardour/automation_watch.cc
@@ -190,6 +190,7 @@ void
AutomationWatch::thread ()
{
pbd_set_thread_priority (pthread_self(), PBD_SCHED_FIFO, AudioEngine::instance()->client_real_time_priority() - 3);
+ pthread_set_name ("AutomationWatch");
while (_run_thread) {
Glib::usleep ((gulong) floor (Config->get_automation_interval_msecs() * 1000));
timer ();