From 4668bfe4f64acfb17da5efbb759407664b407d81 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 21 Oct 2022 12:46:29 +0200 Subject: give main thread a name to make it easier to find in profilers and debuggersy Change-Id: Ie376186d623957ae71c3e5bcea36888fcdf85d80 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141625 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/app/svmain.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vcl') diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx index 7c5505f364cb..6f76c99b6a36 100644 --- a/vcl/source/app/svmain.cxx +++ b/vcl/source/app/svmain.cxx @@ -302,6 +302,8 @@ bool InitVCL() return true; } + osl_setThreadName("VCL Main"); + if( pExceptionHandler != nullptr ) return false; -- cgit