mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
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…
x
Reference in New Issue
Block a user