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/pbd | |
parent | d6a38d545089b8e2d5be54e3f8e9ed497234c2ef (diff) |
Set thread-names (libs)
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/system_exec.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/pbd/system_exec.cc b/libs/pbd/system_exec.cc index e97bcce922..d1079a311f 100644 --- a/libs/pbd/system_exec.cc +++ b/libs/pbd/system_exec.cc @@ -47,6 +47,7 @@ #include "pbd/file_utils.h" #include "pbd/search_path.h" +#include "pbd/pthread_utils.h" #include "pbd/system_exec.h" using namespace std; @@ -370,6 +371,7 @@ SystemExec::~SystemExec () static void* interposer_thread (void *arg) { SystemExec *sex = static_cast<SystemExec *>(arg); + pthread_set_name ("ExecStdOut"); sex->output_interposer(); pthread_exit(0); return 0; |