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 /cppu | |
parent | 961d061ba177a79fe9f91404e3cd4d0d0bc30a87 (diff) |
set names on a bunch more threads...
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/AffineBridge/AffineBridge.cxx | 4 | ||||
-rw-r--r-- | cppu/source/threadpool/thread.cxx | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/cppu/source/AffineBridge/AffineBridge.cxx b/cppu/source/AffineBridge/AffineBridge.cxx index 786e9d9ede2a..24b81275c299 100644 --- a/cppu/source/AffineBridge/AffineBridge.cxx +++ b/cppu/source/AffineBridge/AffineBridge.cxx @@ -97,6 +97,8 @@ public: void InnerThread::run(void) { + osl_setThreadName("UNO AffineBridge InnerThread"); + m_pAffineBridge->enter(); m_pAffineBridge->innerDispatch(); m_pAffineBridge->leave(); @@ -120,6 +122,8 @@ OuterThread::OuterThread(AffineBridge * threadEnvironment) void OuterThread::run(void) { + osl_setThreadName("UNO AffineBridge OuterThread"); + osl::MutexGuard guard(m_pAffineBridge->m_outerMutex); m_pAffineBridge->m_outerThreadId = getIdentifier(); diff --git a/cppu/source/threadpool/thread.cxx b/cppu/source/threadpool/thread.cxx index 4924a45e3a92..aed132243b5d 100644 --- a/cppu/source/threadpool/thread.cxx +++ b/cppu/source/threadpool/thread.cxx @@ -148,6 +148,8 @@ namespace cppu_threadpool { void ORequestThread::run() { + osl_setThreadName("cppu_threadpool::ORequestThread"); + try { while ( m_pQueue ) |