diff options
author | Noel Grandin <noelgrandin@collabora.co.uk> | 2022-10-21 12:46:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-10-21 17:28:24 +0200 |
commit | 4668bfe4f64acfb17da5efbb759407664b407d81 (patch) | |
tree | 0cb7f04e90b3d893bc08f9675ed5cd5da817e89e | |
parent | b1f25771fd7e5671f081bcb80ed58e8678f3105f (diff) |
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 <noel.grandin@collabora.co.uk>
-rw-r--r-- | vcl/source/app/svmain.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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; |