Set thread-names (libs)

This commit is contained in:
Robin Gareus 2020-03-29 14:56:22 +02:00
parent d6a38d5450
commit c365c6cdb2
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
16 changed files with 33 additions and 3 deletions

View file

@ -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;