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 /dbaccess | |
parent | 961d061ba177a79fe9f91404e3cd4d0d0bc30a87 (diff) |
set names on a bunch more threads...
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/filter/xml/xmlfilter.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/odbcconfig.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/relationdesign/RelationController.cxx | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx index a8a8a3b56a26..e55ad34e6e20 100644 --- a/dbaccess/source/filter/xml/xmlfilter.cxx +++ b/dbaccess/source/filter/xml/xmlfilter.cxx @@ -107,6 +107,8 @@ namespace dbaxml void SAL_CALL FastLoader::run() { + osl_setThreadName("dbaxml::FastLoader"); + if ( m_eWhat == E_JAVA ) { #if HAVE_FEATURE_JAVA diff --git a/dbaccess/source/ui/dlg/odbcconfig.cxx b/dbaccess/source/ui/dlg/odbcconfig.cxx index a6677a7f9d35..557af358390b 100644 --- a/dbaccess/source/ui/dlg/odbcconfig.cxx +++ b/dbaccess/source/ui/dlg/odbcconfig.cxx @@ -287,6 +287,8 @@ public: protected: virtual void SAL_CALL run() { + osl_setThreadName("dbaui::ProcessTerminationWait"); + osl_joinProcess( m_hProcessHandle ); osl_freeProcessHandle( m_hProcessHandle ); Application::PostUserEvent( m_aFinishHdl ); diff --git a/dbaccess/source/ui/relationdesign/RelationController.cxx b/dbaccess/source/ui/relationdesign/RelationController.cxx index 230d845feeeb..49f2f7ba72b0 100644 --- a/dbaccess/source/ui/relationdesign/RelationController.cxx +++ b/dbaccess/source/ui/relationdesign/RelationController.cxx @@ -311,6 +311,8 @@ namespace void SAL_CALL RelationLoader::run() { + osl_setThreadName("RelationLoader"); + const OUString* pIter = m_aTableList.getConstArray() + m_nStartIndex; for(sal_Int32 i = m_nStartIndex; i < m_nEndIndex;++i,++pIter) { |