From 9d18b66a61ab8adb0ed6614a4538afa20b9e732e Mon Sep 17 00:00:00 2001 From: Henry Castro Date: Thu, 6 Aug 2015 11:40:28 -0400 Subject: [PATCH 090/398] LOKit: set thread name lo_startmain It is necessary the thread name for debugging LOKit threads. Change-Id: I713595eb1319234ff90a6eddebcac5ebad912b04 (cherry picked from commit 21531da576eca7ef9cb2ee78d1643b25d5f86ae3) --- desktop/source/lib/init.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index aa8e27c7f48f..abd8ca0b640b 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -942,6 +942,8 @@ static bool initialize_uno(const OUString& aAppProgramURL) static void lo_startmain(void*) { + osl_setThreadName("lo_startmain"); + soffice_main(); } -- 2.12.0