Set thread names for the BufferedStream thread procs.

This commit is contained in:
Gunnar Beutner 2013-10-18 11:46:19 +02:00
parent 9506b6710e
commit e5b3a59aa3
1 changed files with 4 additions and 0 deletions

View File

@ -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;