From 5950cd21ae4ad1b9ddc98a6f1c8716e1627ebbd2 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 17 Jun 2016 14:24:56 +0200 Subject: Set custom names to threads --- src/OutputUHD.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/OutputUHD.cpp') diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp index dff0fd2..1b84b7c 100644 --- a/src/OutputUHD.cpp +++ b/src/OutputUHD.cpp @@ -601,6 +601,8 @@ void UHDWorker::process_errhandler() etiLog.level(error) << "Could not set priority for UHD worker:" << ret; } + set_thread_name("uhdworker"); + process(); uwd->running = false; etiLog.level(warn) << "UHD worker terminated"; -- cgit v1.2.3