[Libreoffice-commits] online.git: loolwsd/DocumentBroker.cpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Mon Nov 7 06:42:17 UTC 2016
loolwsd/DocumentBroker.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit f6698918925b3a8a934329fabbdc8bfad003cf87
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Sun Nov 6 22:29:19 2016 -0500
loolwsd: name the child socket thread
Change-Id: I079d821522b016cbd70a958b6a3e908a32b61f37
Reviewed-on: https://gerrit.libreoffice.org/30644
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/loolwsd/DocumentBroker.cpp b/loolwsd/DocumentBroker.cpp
index f18b049..7e250e4 100644
--- a/loolwsd/DocumentBroker.cpp
+++ b/loolwsd/DocumentBroker.cpp
@@ -34,12 +34,13 @@ using Poco::StringTokenizer;
void ChildProcess::socketProcessor()
{
+ Util::setThreadName("child_ws_" + std::to_string(_pid));
+
IoUtil::SocketProcessor(_ws,
[this](const std::vector<char>& payload)
{
const auto message = LOOLProtocol::getAbbreviatedMessage(payload);
- LOG_TRC("Recv from child " << this->_pid <<
- ": [" << message << "].");
+ LOG_TRC("Recv from child [" << message << "].");
if (UnitWSD::get().filterChildMessage(payload))
{
More information about the Libreoffice-commits
mailing list