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/audiographer | |
parent | d6a38d545089b8e2d5be54e3f8e9ed497234c2ef (diff) |
Set thread-names (libs)
Diffstat (limited to 'libs/audiographer')
-rw-r--r-- | libs/audiographer/audiographer/sndfile/tmp_file_rt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/audiographer/audiographer/sndfile/tmp_file_rt.h b/libs/audiographer/audiographer/sndfile/tmp_file_rt.h index 1e2786252b..d9523549ca 100644 --- a/libs/audiographer/audiographer/sndfile/tmp_file_rt.h +++ b/libs/audiographer/audiographer/sndfile/tmp_file_rt.h @@ -5,13 +5,16 @@ #include <string> #include <glib.h> + #include "pbd/gstdio_compat.h" +#include "pbd/pthread_utils.h" #include "pbd/ringbuffer.h" #include "audiographer/flag_debuggable.h" #include "audiographer/sink.h" #include "sndfile_writer.h" #include "sndfile_reader.h" + #include "tmp_file.h" namespace AudioGrapher @@ -133,6 +136,7 @@ class TmpFileRt static void * _disk_thread (void *arg) { TmpFileRt *d = static_cast<TmpFileRt *>(arg); + pthread_set_name ("ExportDiskIO"); d->disk_thread (); pthread_exit (0); return 0; |