mirror of https://github.com/Icinga/icinga2.git
Set thread names for the BufferedStream thread procs.
This commit is contained in:
parent
9506b6710e
commit
e5b3a59aa3
|
@ -60,6 +60,8 @@ void BufferedStream::ReadThreadProc(void)
|
|||
{
|
||||
char buffer[512];
|
||||
|
||||
Utility::SetThreadName("BufS Read");
|
||||
|
||||
try {
|
||||
for (;;) {
|
||||
size_t rc = m_InnerStream->Read(buffer, sizeof(buffer));
|
||||
|
@ -97,6 +99,8 @@ void BufferedStream::WriteThreadProc(void)
|
|||
{
|
||||
char buffer[512];
|
||||
|
||||
Utility::SetThreadName("BufS Write");
|
||||
|
||||
try {
|
||||
for (;;) {
|
||||
size_t rc;
|
||||
|
|
Loading…
Reference in New Issue