summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/update/check/updatecheck.cxx6
-rw-r--r--extensions/source/update/check/updatecheckjob.cxx2
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 );