diff options
author | Arnaud Versini <arnaud.versini@libreoffice.org> | 2013-10-18 18:11:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-07 09:33:06 +0100 |
commit | ebf5e56e2020359b648b0fec7bd64befe466e4b4 (patch) | |
tree | cb11bbe8902ae7447dc9e803168e90f86950ccdf /sal | |
parent | 117b24dbbd627def07e3fe06438f54172d20618c (diff) |
Name threads for debug purpose
Change-Id: Id99ba394b898b7da0057d4a145ce8dce46122782
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/alloc_cache.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/rtl/alloc_cache.cxx b/sal/rtl/alloc_cache.cxx index 138315533ec7..561880f0b321 100644 --- a/sal/rtl/alloc_cache.cxx +++ b/sal/rtl/alloc_cache.cxx @@ -23,6 +23,7 @@ #include "internal/rtllifecycle.h" #include "sal/macros.h" #include "osl/diagnose.h" +#include <osl/thread.hxx> #include <cassert> #include <string.h> @@ -1507,6 +1508,7 @@ static DWORD WINAPI #endif /* SAL_UNX || SAL_W32 */ rtl_cache_wsupdate_all (void * arg) { + osl::Thread::setName("rtl_cache_wsupdate_all"); unsigned int seconds = sal::static_int_cast< unsigned int >( reinterpret_cast< sal_uIntPtr >(arg)); |