diff options
Diffstat (limited to 'cpp/src/Ice/Thread.cpp')
-rw-r--r-- | cpp/src/Ice/Thread.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpp/src/Ice/Thread.cpp b/cpp/src/Ice/Thread.cpp index 80990aeb8ce..8938e288ac9 100644 --- a/cpp/src/Ice/Thread.cpp +++ b/cpp/src/Ice/Thread.cpp @@ -19,6 +19,7 @@ #include <IceUtil/Thread.h> #include <IceUtil/Time.h> #include <IceUtil/ThreadException.h> +#include <Ice/ConsoleUtil.h> #include <climits> #include <exception> @@ -32,6 +33,7 @@ #endif using namespace std; +using namespace IceInternal; #ifdef ICE_OS_UWP @@ -169,7 +171,7 @@ WINAPI startHook(void* arg) { if(!thread->name().empty()) { - cerr << thread->name() << " terminating" << endl; + consoleErr << thread->name() << " terminating" << endl; } std::terminate(); } @@ -404,7 +406,7 @@ WINAPI startHook(void* arg) { if(!thread->name().empty()) { - cerr << thread->name() << " terminating" << endl; + consoleErr << thread->name() << " terminating" << endl; } std::terminate(); } @@ -650,7 +652,7 @@ startHook(void* arg) { if(!thread->name().empty()) { - cerr << thread->name() << " terminating" << endl; + consoleErr << thread->name() << " terminating" << endl; } std::terminate(); } |