diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-08-22 23:51:08 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-08-25 13:21:59 +0200 |
commit | 57a4337e254b485df33dc01e508bb936adc6ec75 (patch) | |
tree | 9040323a7b8edc55f62e541dece0963e9df99d3d /toolkit | |
parent | 961d061ba177a79fe9f91404e3cd4d0d0bc30a87 (diff) |
set names on a bunch more threads...
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index be5ee82bca9e..bbfe52f755e6 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -50,6 +50,7 @@ #include <cppuhelper/typeprovider.hxx> #include <osl/conditn.hxx> #include <osl/module.h> +#include <osl/thread.h> #include <osl/mutex.hxx> #include <rtl/uuid.h> #include <rtl/process.h> @@ -596,6 +597,8 @@ extern "C" { static void SAL_CALL ToolkitWorkerFunction( void* pArgs ) { + osl_setThreadName("VCLXToolkit VCL main thread"); + VCLXToolkit * pTk = (VCLXToolkit *)pArgs; bInitedByVCLToolkit = InitVCL(); if( bInitedByVCLToolkit ) |