mirror of https://github.com/Icinga/icinga2.git
Set thread name for Endpoint threads.
This commit is contained in:
parent
89d313008d
commit
4ef5682354
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue