summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ConnectionI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ConnectionI.cpp')
-rw-r--r--cpp/src/Ice/ConnectionI.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/Ice/ConnectionI.cpp b/cpp/src/Ice/ConnectionI.cpp
index 492bb72c398..f04b074367f 100644
--- a/cpp/src/Ice/ConnectionI.cpp
+++ b/cpp/src/Ice/ConnectionI.cpp
@@ -38,6 +38,14 @@ Ice::ConnectionI::validate()
{
IceUtil::Monitor<IceUtil::Mutex>::Lock sync(*this);
+ if(_threadPerConnection->getThreadControl() != IceUtil::ThreadControl())
+ {
+ cout << "_threadPerConnection->getThreadControl() != IceUtil::ThreadControl()" << endl;
+ }
+ else
+ {
+ cout << "_threadPerConnection->getThreadControl() == IceUtil::ThreadControl()" << endl;
+ }
if(_instance->threadPerConnection() &&
_threadPerConnection->getThreadControl() != IceUtil::ThreadControl())
{