diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-08-22 21:53:42 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-08-25 13:21:58 +0200 |
commit | 961d061ba177a79fe9f91404e3cd4d0d0bc30a87 (patch) | |
tree | 4d9338f46e3df90ccca35e7513b262077767ff57 /vcl/unx/generic | |
parent | d386f88774df977691f9cb6ab231aa5b085d0b70 (diff) |
set names on some UNIX-only threads
Change-Id: I4c247916256618312e7d98673d9db4d26e26fa39
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r-- | vcl/unx/generic/dtrans/X11_selection.cxx | 1 | ||||
-rw-r--r-- | vcl/unx/generic/printer/cupsmgr.cxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx b/vcl/unx/generic/dtrans/X11_selection.cxx index a24d373025e9..3bcc984f13c4 100644 --- a/vcl/unx/generic/dtrans/X11_selection.cxx +++ b/vcl/unx/generic/dtrans/X11_selection.cxx @@ -97,6 +97,7 @@ extern "C" static void call_SelectionManager_runDragExecute( void * pMgr ) { + osl_setThreadName("SelectionManager::runDragExecute()"); SelectionManager::runDragExecute( pMgr ); } } diff --git a/vcl/unx/generic/printer/cupsmgr.cxx b/vcl/unx/generic/printer/cupsmgr.cxx index d39196e15cf0..99417d8304f5 100644 --- a/vcl/unx/generic/printer/cupsmgr.cxx +++ b/vcl/unx/generic/printer/cupsmgr.cxx @@ -111,6 +111,7 @@ struct GetPPDAttribs extern "C" { static void getPPDWorker(void* pData) { + osl_setThreadName("CUPSManager getPPDWorker"); GetPPDAttribs* pAttribs = (GetPPDAttribs*)pData; pAttribs->executeCall(); } @@ -172,6 +173,7 @@ extern "C" { static void run_dest_thread_stub( void* pThis ) { + osl_setThreadName("CUPSManager cupsGetDests"); CUPSManager::runDestThread( pThis ); } } |