vcl/source/app/svmain.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 7f8bca6b9144cf820aaeae0fe9a15c6becfd1ddc
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Mon Nov 7 23:12:03 2022 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue Nov 8 07:13:59 2022 +0100

    Revert "give main thread a name"
    
    This reverts commit 4668bfe4f64acfb17da5efbb759407664b407d81.  As it called
    osl_setThreadName on the main thread, it caused tools like pstree on Linux 
to
    confusingly report soffice.bin as VCL Main instead.
    
    Change-Id: I19447059d2ce105acb0b6fd487c7b2234172b988
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142402
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 6f76c99b6a36..7c5505f364cb 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -302,8 +302,6 @@ bool InitVCL()
         return true;
     }
 
-    osl_setThreadName("VCL Main");
-
     if( pExceptionHandler != nullptr )
         return false;
 

Reply via email to