summaryrefslogtreecommitdiff
path: root/extensions/source/update/check/updatecheck.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-08-22 23:51:08 +0200
committerMichael Stahl <mstahl@redhat.com>2014-08-25 13:21:59 +0200
commit57a4337e254b485df33dc01e508bb936adc6ec75 (patch)
tree9040323a7b8edc55f62e541dece0963e9df99d3d /extensions/source/update/check/updatecheck.cxx
parent961d061ba177a79fe9f91404e3cd4d0d0bc30a87 (diff)
set names on a bunch more threads...
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
Diffstat (limited to 'extensions/source/update/check/updatecheck.cxx')
-rw-r--r--extensions/source/update/check/updatecheck.cxx6
1 files changed, 6 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);