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 /extensions | |
parent | 961d061ba177a79fe9f91404e3cd4d0d0bc30a87 (diff) |
set names on a bunch more threads...
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/update/check/updatecheck.cxx | 6 | ||||
-rw-r--r-- | extensions/source/update/check/updatecheckjob.cxx | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index e520c5a99a38..5c1399e70507 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -463,6 +463,8 @@ UpdateCheckThread::onTerminated() void SAL_CALL UpdateCheckThread::run() { + osl_setThreadName("UpdateCheckThread"); + bool bExtensionsChecked = false; TimeValue systime; TimeValue nExtCheckTime; @@ -626,6 +628,8 @@ DownloadThread::~DownloadThread() void SAL_CALL DownloadThread::run() { + osl_setThreadName("DownloadThread"); + #ifdef WNT CoUninitialize(); CoInitialize( NULL ); @@ -710,6 +714,8 @@ ShutdownThread::~ShutdownThread() void SAL_CALL ShutdownThread::run() { + osl_setThreadName("ShutdownThread"); + TimeValue tv = { 0, 250 }; m_aCondition.wait(&tv); diff --git a/extensions/source/update/check/updatecheckjob.cxx b/extensions/source/update/check/updatecheckjob.cxx index 6a2699aafab4..db3ac9a7c1c6 100644 --- a/extensions/source/update/check/updatecheckjob.cxx +++ b/extensions/source/update/check/updatecheckjob.cxx @@ -125,6 +125,8 @@ InitUpdateCheckJobThread::InitUpdateCheckJobThread( void SAL_CALL InitUpdateCheckJobThread::run() { + osl_setThreadName("InitUpdateCheckJobThread"); + if (!m_bShowDialog) { TimeValue tv = { 25, 0 }; m_aCondition.wait( &tv ); |