]> granicus.if.org Git - icinga2/commitdiff
Set thread name for Endpoint threads.
authorGunnar Beutner <gunnar.beutner@netways.de>
Fri, 18 Oct 2013 08:41:09 +0000 (10:41 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Fri, 18 Oct 2013 08:41:09 +0000 (10:41 +0200)
components/cluster/endpoint.cpp

index 731dd87a68578c804dc6044bd5a1de087c084eae..6eb27635d93e91d3795672e619887e2d3f1d8996 100644 (file)
@@ -94,6 +94,8 @@ void Endpoint::SendMessage(const Dictionary::Ptr& message)
 
 void Endpoint::MessageThreadProc(const Stream::Ptr& stream)
 {
+       Utility::SetThreadName("EndpointMsg");
+
        for (;;) {
                Dictionary::Ptr message;