summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@libreoffice.org>2013-10-18 18:11:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-11-07 09:33:06 +0100
commitebf5e56e2020359b648b0fec7bd64befe466e4b4 (patch)
treecb11bbe8902ae7447dc9e803168e90f86950ccdf /vcl
parent117b24dbbd627def07e3fe06438f54172d20618c (diff)
Name threads for debug purpose
Change-Id: Id99ba394b898b7da0057d4a145ce8dce46122782 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/generic/app/sm.cxx1
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/vcl/unx/generic/app/sm.cxx b/vcl/unx/generic/app/sm.cxx
index bc5c0e70368e..5ff427348b56 100644
--- a/vcl/unx/generic/app/sm.cxx
+++ b/vcl/unx/generic/app/sm.cxx
@@ -603,6 +603,7 @@ void ICEConnectionObserver::terminate(oslThread iceThread)
void ICEConnectionWorker(void * data)
{
+ osl::Thread::setName("ICEConnectionWorker");
ICEConnectionObserver * pThis = static_cast< ICEConnectionObserver * >(
data);
for (;;)
diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx b/vcl/unx/generic/dtrans/X11_selection.cxx
index 8a90cd9d1300..11560fa3d596 100644
--- a/vcl/unx/generic/dtrans/X11_selection.cxx
+++ b/vcl/unx/generic/dtrans/X11_selection.cxx
@@ -3734,6 +3734,7 @@ void SelectionManager::run( void* pThis )
#if OSL_DEBUG_LEVEL > 1
fprintf(stderr, "SelectionManager::run\n" );
#endif
+ osl::Thread::setName("SelectionManager");
// dispatch until the cows come home
SelectionManager* This = (SelectionManager*)pThis;