diff options
author | Robin Gareus <robin@gareus.org> | 2020-03-29 14:56:50 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-03-29 14:56:50 +0200 |
commit | 9d737964d6a1c0b01ed7386f6c259c2b2c674704 (patch) | |
tree | c9b0ca397bbbcdccd805e43db697b9ab183373e1 /gtk2_ardour/strip_silence_dialog.cc | |
parent | c365c6cdb28a4be958cd8405039f6a588d1af21f (diff) |
Set thread-names (GUI)
Diffstat (limited to 'gtk2_ardour/strip_silence_dialog.cc')
-rw-r--r-- | gtk2_ardour/strip_silence_dialog.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/strip_silence_dialog.cc b/gtk2_ardour/strip_silence_dialog.cc index 242a485221..f6be03ca11 100644 --- a/gtk2_ardour/strip_silence_dialog.cc +++ b/gtk2_ardour/strip_silence_dialog.cc @@ -26,6 +26,8 @@ #include <gtkmm/progressbar.h> #include <gtkmm/stock.h> +#include "pbd/pthread_utils.h" + #include "ardour/audioregion.h" #include "ardour/dB.h" #include "ardour/logmeter.h" @@ -246,6 +248,7 @@ void * StripSilenceDialog::_detection_thread_work (void* arg) { StripSilenceDialog* d = reinterpret_cast<StripSilenceDialog*> (arg); + pthread_set_name ("SilenceDetect"); return d->detection_thread_work (); } @@ -374,4 +377,4 @@ StripSilenceDialog::finished(int response) if(response == Gtk::RESPONSE_OK) { _session->add_extra_xml(get_state()); } -}
\ No newline at end of file +} |