]> git.sesse.net Git - nageru/commitdiff
Give the UI thread a name.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 28 Jun 2017 18:39:16 +0000 (20:39 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 28 Jun 2017 18:39:16 +0000 (20:39 +0200)
main.cpp

index dcaf2a6936ce7fb84532457c515f36ddcc7ed2e2..9177025faca57ff6c8cc3ce306b8abb9a6976e39 100644 (file)
--- 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();