diff options
author | Robin Gareus <robin@gareus.org> | 2020-03-29 14:56:22 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-03-29 14:56:22 +0200 |
commit | c365c6cdb28a4be958cd8405039f6a588d1af21f (patch) | |
tree | 69666098246106076876a48066d78849735ec8fc /libs/ardour/analyser.cc | |
parent | d6a38d545089b8e2d5be54e3f8e9ed497234c2ef (diff) |
Set thread-names (libs)
Diffstat (limited to 'libs/ardour/analyser.cc')
-rw-r--r-- | libs/ardour/analyser.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/analyser.cc b/libs/ardour/analyser.cc index 7f8cb1cc95..b5a9d08e81 100644 --- a/libs/ardour/analyser.cc +++ b/libs/ardour/analyser.cc @@ -19,6 +19,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + #include "ardour/analyser.h" #include "ardour/audiofilesource.h" #include "ardour/rc_configuration.h" @@ -27,6 +28,8 @@ #include "pbd/compose.h" #include "pbd/error.h" +#include "pbd/pthread_utils.h" + #include "pbd/i18n.h" using namespace std; @@ -51,6 +54,7 @@ Analyser::~Analyser () static void analyser_work () { + pthread_set_name ("Analyzer"); Analyser::work (); } |