From: Steinar H. Gunderson Date: Wed, 28 Jun 2017 18:39:16 +0000 (+0200) Subject: Give the UI thread a name. X-Git-Tag: 1.6.1~23 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=4720dea1574992cdf28c0896c8fbca867978ba90;p=nageru Give the UI thread a name. --- diff --git a/main.cpp b/main.cpp index dcaf2a6..9177025 100644 --- a/main.cpp +++ b/main.cpp @@ -77,6 +77,8 @@ int main(int argc, char *argv[]) uses_mlock = true; } + pthread_setname_np(pthread_self(), "Nageru_UI"); + int rc = app.exec(); global_mixer->quit(); mainWindow.mixer_shutting_down();